LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   How do I give a regular user root privelages in OpenBSD (https://www.linuxquestions.org/questions/%2Absd-17/how-do-i-give-a-regular-user-root-privelages-in-openbsd-4175479466/)

baronobeefdip 10-03-2013 09:44 AM

How do I give a regular user root privelages in OpenBSD
 
I have installed an OpenBSD machine and I want to give a regular user root access. This is a very different process than you would do in Linux. There is no root group (From what I have seen in the group file). I am wondering if there is a way to make a regular user able to perform root options and commands.

TobiSGD 10-03-2013 10:47 AM

Just use sudo or give your user the root password.

jmccue 10-03-2013 06:25 PM

Quote:

Originally Posted by baronobeefdip (Post 5039333)
There is no root group (From what I have seen in the group file).

FreeBSD and NetBSD do not have a root group, instead the group is "wheel". I would expect OpenBSD is the same. As TobiSGD suggested, use sudo, but you may need to add your ID to group wheel first.

bucovaina78 10-20-2013 05:22 AM

I guess all you could ever want to know about sudo is in the OpenBSD manpages. I suggest you read them all (at least twice ;) )

sudo(8)
sudoers(5)
visudo(8)

pravesh jangra 10-22-2013 02:22 AM

just give this user sudo access..

hitest 10-24-2013 09:30 AM

Quote:

Originally Posted by jmccue (Post 5039654)
FreeBSD and NetBSD do not have a root group, instead the group is "wheel". I would expect OpenBSD is the same. As TobiSGD suggested, use sudo, but you may need to add your ID to group wheel first.

My user is in the wheel group then I give my user root access when I want to administer my OpenBSD system.


All times are GMT -5. The time now is 04:21 PM.