System Administration Guide: Resource Management and Network Services

How to Create the /etc/shells file

  1. Become superuser.

  2. Create the /etc/shells file.

  3. Edit /etc/shells. Add the full path to each shell on a single line.

Example—Creating the /etc/shells file

The following is an example of an /etc/shells file with a /bin/true listed for FTP guest users:


/sbin/sh 
/bin/csh 
/bin/jsh 
/bin/ksh 
/bin/remsh 
/bin/rksh 
/bin/rsh 
/bin/sh 
/usr/bin/csh 
/usr/bin/ksh 
/usr/bin/bash 
/usr/bin/tcsh
/usr/bin/zsh 
/bin/true