[Pkg-shadow-devel] Bug#419579: Etch - useradd does not add user to group

drcowsley at ntlworld.com drcowsley at ntlworld.com
Mon Apr 16 18:11:18 UTC 2007


Package: passwd
Version: 4.0.18.1-7

My apache front end leaves scripts for root cron to run. 
This is a tried and tested strategy (over several years).

When root cron runs:

/usr/sbin/useradd -d /home/uname -g staff -p 7QmZL4 uname
chfn -f "full name" uname
--- snip housekeeping in netlogon ---
/usr/bin/smbpasswd -x uname
wait
(echo spaswd ; echo spaswd)|/usr/bin/smbpasswd -a -s uname
wait
--- snip housekeeping in /home/uname ---

I expect everything to work for me.  group staff already exists.

On my 'new' Etch (Was rc now updated) when I look in gnome user manager uname has been created correctly with Main_group staff, but staff group does not contain uname.

I am updating from 

deb http://mirror.ox.ac.uk/debian/ etch main
deb-src http://mirror.ox.ac.uk/debian/ etch main

deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib

deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free

Thanks for being there for us all.
Let me know if you need screen shots.

Chris Cowsley

-----------------------------------------
Email sent from www.virginmedia.com/email
Virus-checked using McAfee(R) Software and scanned for spam





More information about the Pkg-shadow-devel mailing list