[gobolinux-users] group management problems with usermod, useradd, etc

Hi There goboster at yahoo.com
Fri Feb 2 12:38:46 UTC 2007


>On 2/2/07, Hi There <goboster <at> yahoo.com> wrote:
>> Anyone else having trouble with adding users to a
>> group? Not sure which package these utils come
with,
>> but I have coreutils 6.7
>>
>> root <at> Home /Programs/CUPS/Current]usermod -a -G
lp
>> root
>> usermod: invalid numeric argument 'lp'
>> root <at> >Home /Programs/CUPS/Current]usermod -a
-G 9
>> root
>> usermod: unknown group 9
>>
>> unless I'm supposed to be entering octal or
>>something
>> it looks like lp is group # 9
>> lp:x:9:
>>
>> same errors with useradd -g
>>
>> The /etc/group and passwd files are ok.
>
>The syntax seems to be:
>
>] usermod -a lp -G lp root
>
>Pretty redundant, but it works.

root at Home /Programs/CUPS/1.2.7/bin]usermod -a lp -G lp
root
usermod: invalid numeric argument 'lp'

which package do these commands come with? maybe i
could try reinstalling/changing versions.




 
____________________________________________________________________________________
Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367


More information about the gobolinux-users mailing list