cannot rewrite password file

Mikkel L. Ellertson mikkel at infinity-ltd.com
Thu Feb 2 16:44:12 UTC 2006


krishnamurthy kandi wrote:
> Hi,
> I logged into my linux box as user,now i want create new user by
> excuting the command /usr/sbin/useradd kimo then it is saying that
> useradd: cannot rewrite password file
>  
> what should i do create new user from existing user.
>  
> thanks
>  
For security reasons, only root can add or remove users.
You can ether log in as root, or use su to change to root.

If you want to give a user the ability to add new users,
look at the sudo command. Once you set it up, you would
then run "sudo /usr/sbin/useradd kimo".

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!




More information about the users mailing list