I want to add a new user. I want to use the shell as ksh. When I did 'which ksh", I got:
/usr/bin/ksh
I am planning to add the user like this:
useradd -u 901 -c "PS User" -d /home/pshrms -m -s /usr/bin/ksh -g dba pshrms
When I looked at other users, lots of them have /sbin/sh as their shell. When i did "which sh", it says /usr/bin/sh. So, why are they created with /sbin/sh?
Thanks,
Joani Tamminen
/usr/bin/ksh
I am planning to add the user like this:
useradd -u 901 -c "PS User" -d /home/pshrms -m -s /usr/bin/ksh -g dba pshrms
When I looked at other users, lots of them have /sbin/sh as their shell. When i did "which sh", it says /usr/bin/sh. So, why are they created with /sbin/sh?
Thanks,
Joani Tamminen