Unix/Linux Go Back    

CentOS 7.0 - man page for lchsh (centos section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

lchsh(1)										 lchsh(1)

       lchsh - Change login shell

       lchsh [OPTION]... [user]

       Displays and allows changing login shell of user.

       If  the	user  argument	is  not provided, username of the invoking user is used; the user
       argument is ignored if lchsh is run set-uid to a different user.

       Entering an empty string (by pressing Enter) at the "New Shell" prompt is  interpreted  as
       accepting the current value.

       -i, --interactive
	      Ask all questions when connecting to the user database, even if default answers are
	      set up in libuser configuration.

       The exit status is 0 on success, 1 on error.

       lchsh ignores /etc/shells.

libuser 				   Sep 20 2004					 lchsh(1)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 01:06 PM.