An Entrepreneur, Coach, IT Consultant, Strategic Adviser, and a Traveler craving to explore and contribute to forming a better society.

Tuesday, August 25, 2009

Shell Scripting #0018: /etc/shells

No comments :
/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:


[root@sa ~]# cat /etc/shells
/bin/sh
/bin/bash
/sbin/nologin
/bin/tcsh
/bin/csh
/bin/ksh
/bin/zsh

No comments :