Tuesday, August 25, 2009
Shell Scripting #0018: /etc/shells
/etc/shells file
The /etc/shells file contains a list of login shells on the system. Applications shall use this file to determine whether a shell is valid. For each shell a single line should be present in /etc/shells file, consisting of the shell's path, relative to the root of the directory structure (/).
Example:
The /etc/shells file contains a list of login shells on the system. Applications shall use this file to determine whether a shell is valid. For each shell a single line should be present in /etc/shells file, consisting of the shell's path, relative to the root of the directory structure (/).
Example:
[root@sa ~]# cat /etc/shells
/bin/sh
/bin/bash
/sbin/nologin
/bin/tcsh
/bin/csh
/bin/ksh
/bin/zsh
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment