Bug 449555 - User "news" has no shell in /etc/passwd
Summary: User "news" has no shell in /etc/passwd
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: setup
Version: 5.4
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Ondrej Vasik
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-06-02 20:40 UTC by David Tonhofer
Modified: 2018-10-27 16:08 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-02-11 14:39:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description David Tonhofer 2008-06-02 20:40:12 UTC
Description of problem:

Default /etc/passwd file has user "news" with no entry for shell (additionally,
a home directory /etc/news which does not exist)

Should be given /sbin/nologin (i.e. something from /etc/shells), I suppose?

Version-Release number of selected component (if applicable):

setup-2.5.58-1.el5

How reproducible:

Always

Comment 2 Ondrej Vasik 2009-02-11 13:43:54 UTC
I'm afraid there is no easy way how to fix that in setup package. Any change would/could cause unwanted inconsistency. In Fedora Rawhide is news user/group no longer created by default by setup, it's created by packages that using it (inn and leafnode) - see rhbz #437462 for details. Assigning /sbin/nologin shell to it in RHEL-5 will cause troubles to inn functionality - as some modifications were needed to make inn work with with /sbin/nologin.

Comment 3 Ondrej Vasik 2009-02-11 14:39:07 UTC
Closing DEFERRED.


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