LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Giving root permissions (https://www.linuxquestions.org/questions/linux-newbie-8/giving-root-permissions-691217/)

Asagath 12-17-2008 08:10 AM

Giving root permissions
 
Hello everybody:

I'm using a Red Hat 7.2 and I need to know how to give root permissions to a regular user.

Thanks

Agrouf 12-17-2008 08:15 AM

Give him the root password ;p
In other words, regular user with root permissions is no more regular user, it's root. No point in having root if regular users can be root. Regular users can't have root permissions.
You can grant some permissions, but not all. For instance, you can give access to some directories, or give the permission to execute some commands, but not give all root permissions at once to a regular user or it wouldn't be a regular user. The root user is special and there can be only one or none. If there was 2 root users they wouldn't be root users at all.

eco 12-17-2008 08:16 AM

Hi,

The 'easiest' way is using sudo.
-eco

pixellany 12-17-2008 08:19 AM

redhat 7.2 is very obsolete, but that is not relevant to this question.

The short answer is that you don't give root privileges to another user--you create users with specific privileges---typically by adding them to specific groups. You can also use sudo.

Tell us more about the context of the question---ie what problem you are trying to solve.


All times are GMT -5. The time now is 01:23 AM.