useradd, groupadd problem!

Steve Eberhart steve at newtech.com
Tue May 3 21:08:38 UTC 2005


John L. Pierce wrote:

>I have tried to add a group with the following command
>
>groupadd -u xx -r clamav
>
>and I get the following:
>
>groupadd cannot rewrite group file.
>
>I have also tried to add a new user with the following command
>
>useradd -u xx -r clamav
>
>and I get the following:
>
>useradd cannot rewrite the password file.
>
>Fedora 3 and all of the latest updates.
>
>2.6.11.5wv4l #1 Mon Mar 28 13:34:24 CST 2005 i686 athlon i386 GNU/Linux
>
>Yes I was root at the time, yes I used an integer in place of xx on the
>command line.
>
>Any guidance would be appreciated.
>
>John
>  
>
I am guessing your permissions are 444, give root write permission with 
a mode of 644 and I bet you will be successful.

Steve Eberhart




More information about the users mailing list