LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 10-03-2013, 10:44 AM   #1
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Rep: Reputation: 32
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.
 
Old 10-03-2013, 11:47 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852
Just use sudo or give your user the root password.
 
Old 10-03-2013, 07:25 PM   #3
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 255

Rep: Reputation: 126Reputation: 126
Quote:
Originally Posted by baronobeefdip View Post
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.
 
Old 10-20-2013, 06:22 AM   #4
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Rep: Reputation: 33
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)
 
Old 10-22-2013, 03:22 AM   #5
pravesh jangra
LQ Newbie
 
Registered: May 2010
Location: Haryana
Distribution: Red hat
Posts: 15
Blog Entries: 1

Rep: Reputation: 0
just give this user sudo access..
 
Old 10-24-2013, 10:30 AM   #6
hitest
LQ Guru
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware
Posts: 5,220

Rep: Reputation: 1216Reputation: 1216Reputation: 1216Reputation: 1216Reputation: 1216Reputation: 1216Reputation: 1216Reputation: 1216Reputation: 1216
Quote:
Originally Posted by jmccue View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Different date shown for regular user and root user tuxtutorials Linux - Server 6 11-27-2013 09:33 AM
how do i give the live user root privelages baronobeefdip Ubuntu 8 02-26-2011 11:23 PM
How do I give a regular user I created permission to run startx? CyyberspaceCowboy Linux - Security 5 02-05-2010 04:59 PM
Mandrake 10.1 Giving User Account all Root Privelages morbid81 Mandriva 3 01-14-2005 02:21 AM
Given regular user root privileges clo99dx Linux - Newbie 6 06-05-2004 05:27 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration