Operating System - HP-UX
1755747 Members
3847 Online
108837 Solutions
New Discussion

Re: how to change user's shell

 
SOLVED
Go to solution
Bill Hassell
Honored Contributor

Re: how to change user's shell

Any user can change their own shell. The command is:

chsh

The sbin versions of commands (and the POSIX shell sh) are archived libraries which means they will occupy slightly more RAM as they don't share common library functions. Otyher than the RAM increase, there is no downside to using the /sbin/sh shell. The uoside (for root only) is that this shell is mandatory in single user mode as /usr/lib is not mounted.


Bill Hassell, sysadmin