LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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,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, 10:47 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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: 687
Blog Entries: 1

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
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
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, 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
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
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



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

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

All times are GMT -5. The time now is 08:00 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
Open Source Consulting | Domain Registration