January 7, 2010

how to get the deleted adduser file in fedora linux

 

i  accedentally deleted adduser executable file from root         /usr/sbin/    'a dduser'

how to get that one please help me...................

please................

The simplest method would be to reinstall the package called shadow using...

The simplest method would be to reinstall the package called shadow using your installation disk or the included package management tools.

Like  (0 likes)

As the user above me said, just copy it from the Fedora live cd. Because it...

As the user above me said, just copy it from the Fedora live cd. Because it is a Perl script it is portable and you don't have to worry about it not being compatible. As long as it is from the same distro it should be fine.

You could try reinstalling the package which includes the script. I think the package is " fedora-usermgmt".

Like  (0 likes)

Hi Bharath,adduser is a perl script.If you r using ubuntu then you can get it...

Hi Bharath,
adduser is a perl script.
If you r using ubuntu then you can get it from live CD itself. Just boot the CD and copy it to your partition.

Or you can also use useradd command (its not a script) to add users to the system.

Like  (0 likes)