Sep 7, 2003 #1 dssops Technical User Jul 8, 2003 3 0 0 GB Had a power outage on a SUN E6000 box yesterday and since them have not been able to su - oracle, get the following error - # su - oracle su: No shell # Have searched unsuccessfully to find the way around this but no luck yet, grateful of any help.
Had a power outage on a SUN E6000 box yesterday and since them have not been able to su - oracle, get the following error - # su - oracle su: No shell # Have searched unsuccessfully to find the way around this but no luck yet, grateful of any help.
Sep 7, 2003 #2 Annihilannic MIS Jun 22, 2000 6,317 0 0 AU What shell is defined for the "oracle" user in /etc/passwd (the last entry on the line). Does that file exist? Is it a valid executable? Annihilannic. Upvote 0 Downvote
What shell is defined for the "oracle" user in /etc/passwd (the last entry on the line). Does that file exist? Is it a valid executable? Annihilannic.
Sep 8, 2003 #3 ProudToBeLeeds Technical User Aug 7, 2003 35 0 0 GB I created a user with the following entry test2:x:1021:10::/export/home/test2:/usr/bn/bash *Note the misspelling of bin ! I then did # pwconv # su - test2 su: No shell # Hey Presto ! Same error Changed the line to test2:x:1021:10::/export/home/test2:/usr/bin/bash # pwconv # su - test2 bash-2.03$ Usually if your missing a value from somewhere pwconv will give you this error pwconv: ERROR: bad entry or blank line at line 26 in /etc/passwd pwconv: Unexpected failure. Conversion not done. So basically check the path for the shell that your assiging to the user. Upvote 0 Downvote
I created a user with the following entry test2:x:1021:10::/export/home/test2:/usr/bn/bash *Note the misspelling of bin ! I then did # pwconv # su - test2 su: No shell # Hey Presto ! Same error Changed the line to test2:x:1021:10::/export/home/test2:/usr/bin/bash # pwconv # su - test2 bash-2.03$ Usually if your missing a value from somewhere pwconv will give you this error pwconv: ERROR: bad entry or blank line at line 26 in /etc/passwd pwconv: Unexpected failure. Conversion not done. So basically check the path for the shell that your assiging to the user.