Bug 12409

Summary: Daemon accounts assigned shell by default
Product: [Retired] Red Hat Linux Reporter: Blake R. Swopes <bhodi>
Component: setupAssignee: Bill Nottingham <notting>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-09-12 19:26:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Blake R. Swopes 2000-06-18 04:42:34 UTC
The default installation of Red Hat 6.1 (and possibly others - this may be 
a multiple-vendor issue) does not assign a shell for many of the non-user 
(daemon) accounts (e.g. nobody, bin). If no shell is specified, the shell 
defaults to /bin/sh.

This setting is correct for the xfs account, which assigns /bin/false as 
the shell.

The solution would be to assign these accounts a shell which will not 
permit login, such as /bin/false.

Additionally, /etc/shells does not contain a shell such as /bin/false 
which would deny login, which produces an error when assigning such a 
shell to an account via chsh. This entry could be included to /etc/shells 
in the default installation.

Comment 1 Nalin Dahyabhai 2000-06-18 05:08:45 UTC
Changing to component "setup", which includes the default passwd file.

Comment 2 Bill Nottingham 2001-01-29 18:18:39 UTC
Changing the base of the default password file is not really an option
at this point.