FS#28782 - filesystem invokes useradd with wrong parameters
Attached to Project:
Arch Linux
Opened by Carlo Bersani (carlocci) - Monday, 05 March 2012, 01:45 GMT
Last edited by Dave Reisner (falconindy) - Monday, 05 March 2012, 02:04 GMT
Opened by Carlo Bersani (carlocci) - Monday, 05 March 2012, 01:45 GMT
Last edited by Dave Reisner (falconindy) - Monday, 05 March 2012, 02:04 GMT
|
Details
Description:
In this function definition and call: _adduser() { if ! bin/grep -q "^$1:" etc/passwd; then usr/sbin/useradd ${@} >/dev/null fi } _adduser http -u 33 -d /srv/http -g http -s /bin/false http the first "http" causes useradd to fail printing its usage page. Additional info: filesystem-2012.2-2 Steps to reproduce: |
This task depends upon
Closed by Dave Reisner (falconindy)
Monday, 05 March 2012, 02:04 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in SVN
Monday, 05 March 2012, 02:04 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in SVN