[svlug] Re: [nylug-talk] need help

Ed Weinberg edw at q5comm.com
Mon Aug 21 13:10:02 PDT 2000


On Fri, 18 Aug 2000 19:34:27 -0400 (EDT), "M. Khalisdar"
<mkhalisd at hejira.hunter.cuny.edu> wrote:

>i don't have bash so i tried tcsh, sh, ksh
>
>i used su -s /sbin/sh
>	su -s /bin/tcsh
>	su -s /bin/ksh
>
>i get error /bin/<sh> unknown id
>
To see what shells you do have, log in as a non-priveledged user and
"cat /etc/shells".  This file contains a list of shells on your
machine.  

The above command works in Linux, but you might want to type "man su"
and make sure that "-s" is used to supply the shell.

When you become superuser you can then either edit /etc/passwd to put
in the correct shell or (safer) use the "usermod" command.  Assuming
Solaris has a usermod command, verify with "man usermod" that "usermod
-s" will modify your default shell, and you can fix your problem by
specifying a new shell.


Ed Weinberg, Q5 Comm, LLC.
edw at q5comm.com
tel 914-713-7222
fax 914-713-7227 
Connecting you to the internet...




More information about the svlug mailing list