Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31190 - ntp-4.1.2 creates a user with shell and home directory switched
Summary: ntp-4.1.2 creates a user with shell and home directory switched
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-15 04:36 UTC by James Slater
Modified: 2003-10-15 05:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Slater 2003-10-15 04:36:53 UTC
In emerging ntp-4.1.2,

>>> md5 src_uri ;-) ntp-4.1.2.tar.gz
>>> md5 src_uri ;-) ntp-4.1.2-manpages.tbz2
 * Adding group 'ntp' to your system ...
 *  - Groupid: 123
 * Adding user 'ntp' to your system ...
 *  - Userid: 123
 *  - Shell: /dev/null
 *  - Home: /bin/false
 *  - Groups: ntp

I thought that shell and home should be the other way around so I checked out 
the ebuild - it's calling: enewuser ntp 123 /dev/null /bin/false ntp
enewuser should be: enewuser(username, uid, shell, homedir, groups, extra 
options).




Reproducible: Always
Steps to Reproduce:
1. emerge ntp-4.1.2
2. examine output or check /etc/passwd

Actual Results:  
/etc/passwd contains ntp:x:123:123:added by portage for ntp:/bin/false:/dev/null


Expected Results:  
/etc/passwd contains ntp:x:123:123:added by portage for ntp:/dev/null:/bin/false
Comment 1 Markus Nigbur (RETIRED) gentoo-dev 2003-10-15 05:33:14 UTC
fixed in cvs