LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 09:44 AM   #1
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,173

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, 10:47 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,407
Blog Entries: 2

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

Rep: Reputation: 29
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, 05:22 AM   #4
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian,Ubuntu,Finnix,LFS
Posts: 264

Rep: Reputation: 31
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, 02: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, 09:30 AM   #6
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,138

Rep: Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523
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 08:33 AM
how do i give the live user root privelages baronobeefdip Ubuntu 8 02-26-2011 10:23 PM
How do I give a regular user I created permission to run startx? CyyberspaceCowboy Linux - Security 5 02-05-2010 03:59 PM
Mandrake 10.1 Giving User Account all Root Privelages morbid81 Mandriva 3 01-14-2005 01:21 AM
Given regular user root privileges clo99dx Linux - Newbie 6 06-05-2004 04:27 PM


All times are GMT -5. The time now is 05:26 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration