Re: user with root priviledge

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2004-04-19 at 01:43, boby wrote:
> Hello 
> 
> how can i create a user with priviledge rot.
> i know that i can add the user to the root group .
> but even when i add the user to root group it can not 
> be the same as root . system always ask me to enter
> root password to chang some thing .
> i want some thing exactly like root.
> 
> thanks to all 
>  

Learn into sudo. When you type, as root, "visudo". there is a commented
out entry for "%wheel", specifically:

# %wheel        ALL=(ALL)       NOPASSWD: ALL

Uncomment that. Then type, as root, "vigr". Add to the "wheel" group
whoever users you want, separated by a comma, like:

wheel:x:10:root,thepoch

Now, when you want to run commands, example yum updates, just go:

sudo yum update

or if you want to run commands not in your path (ie stuff in sbin/):

sudo /usr/sbin/ntpdate time.nist.gov

Warning... this is basically giving root access to whoever you add to
the wheel group. Nope they won't have to type the root password anymore.
It might be somewhat different from what you are asking, or it might
not.

Hope this helps!

dex



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux