I can't change my shell for root in Solaris 10. When i change, i can't login again after logout. The error is "no shell".
Asked
Active
Viewed 985 times
3 Answers
1
You probably messed the /etc/passwd file by editing it directly.
What prints head -1 /etc/passwd | od -c
?
Shell should be changed by using the passwd -e
command.

jlliagre
- 8,861
- 18
- 36
0
You have to specify the full path to the shell executable and I believe that appropriate permissions have to also be set.

Dennis Williamson
- 62,149
- 16
- 116
- 151
0
I have had this issue and I believe the shell binary has to be on the / partition, at least in recovery mode when the other partitions are not mounted.