Query: chsh
OS: ultrix
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
chsh(1) General Commands Manual chsh(1) Name chsh - change login shell Syntax chsh [loginname] Description The command is a command similar to except that it is used to change the login shell field of the password file rather than the password entry. The program will prompt you for a new shell. The shell name supplied must match one of the entries in /etc/shells. If no name is given the shell will be unchanged and the diagnostic "Login shell unchanged" will be printed. An example use of this command is: % chsh Changing login shell for bill Shell [/bin/csh]: sh Restrictions Both the new shell and the old shell must be found in /etc/shells to be able to change the shell. If the passwd entry is distributed from another host will not modify it. Files /etc/shells See Also chfn(1), passwd(1), yppasswd(1yp), passwd(5yp) chsh(1)
Related Man Pages |
---|
chsh(1) - linux |
ypchsh(1) - redhat |
chsh(1) - debian |
chsh(1) - hpux |
chsh(1) - posix |
Similar Topics in the Unix Linux Community |
---|
Setting the default shell without using chsh |
Redirect STDOUT and STDERR of chsh |