Bug 12409 - Daemon accounts assigned shell by default
Summary: Daemon accounts assigned shell by default
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: setup
Version: 6.1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2000-06-18 04:42 UTC by Blake R. Swopes
Modified: 2014-03-17 02:14 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2000-09-12 19:26:11 UTC

Attachments (Terms of Use)

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.

Note You need to log in before you can comment on or make changes to this bug.