Linux Commands Examples

A great documentation place for Linux commands

remove-shell

remove shells from the list of valid login shells

Synopsis

remove-shell shellname [shellname...]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
FILE_LIST="$FILE_LIST pscan pstree raidautorun rdate readahead readprofile reboot reformime remove-shell resize rev rpm rpm2cpio rtcwake runlevel runsv"
0
source
            
FILE_LIST="$FILE_LIST pscan pstree raidautorun rdate readahead readprofile reboot reformime remove-shell resize rev rpm rpm2cpio rtcwake runlevel runsv"

description

remove-shell operates on the temporary files /etc/shells.tmp and /etc/shells.tmp2 to remove the given shells from the list of valid login shells, and copy the result back to /etc/shells.


see also

shells

How can this site be more helpful to YOU ?


give  feedback