解决 No utmpx entry. You must exec "login" from the lowest level "shell".

 solaris 登入报错:

 
No utmpx entry. You must exec "login" from the lowest level "shell".
 
解决:
进入单用户
 
cd /var/adm
mv utmpx utmpxbak 或者  > utmpx
touch utmpx
 
cat /dev/null > /var/adm/wtmpx
cat /dev/null > /var/adm/utmpx
 
> /etc/utmp
> /etc/wtmp
> /etc/utmpx
> /etc/wtmpx

你可能感兴趣的:(shell,Solaris,utmpx,lowest)