LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-11-2004, 01:58 PM   #1
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Rep: Reputation: 30
Open BSD su doesn't work


Whenever i try to su into root my box says something like BAD SU user is not in the group wheel. How can fix this. This forces me to log in as root and that is never a good thing.
 
Old 07-11-2004, 03:02 PM   #2
babis
LQ Newbie
 
Registered: Jul 2003
Location: Padova Italy & Athens Greece
Distribution: Slackware 10.2
Posts: 17

Rep: Reputation: 0
you should login as root and edit your /etc/group file adding the user you want to be able to su to root

the first line should look like this:

Code:
wheel:*:0:root,user

Last edited by babis; 07-11-2004 at 03:06 PM.
 
Old 07-11-2004, 08:37 PM   #3
rehab junkie
Member
 
Registered: Nov 2003
Location: /var/local/pub/bar
Distribution: OSX 10.4.9
Posts: 259

Rep: Reputation: 30
^ as above. When adding a user that you want to be able to su -root, the adduser command asks "Invite into any other groups? []" - at this point, enter "wheel"
 
Old 07-11-2004, 09:14 PM   #4
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Original Poster
Rep: Reputation: 30
thx every thing is in working order
 
Old 07-12-2004, 02:58 AM   #5
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
By the way, this is covered in the OpenBSD FAQ. The FAQ should always be the first place you look for answers. I have conventiently linked it from the sticky post at the top of this forum as well.

I'm not trying to be a jerk here, I'm just pointing out that the three "main" BSDs are amazingly well documented. For most questions a quick consultation to the man pages or the website documentation will get your answer, and a whole lot quicker than you normally get a response on a forum. Oh, speaking of man pages I just realized this question is answered in su(1) as well. Read the documentation, that's what it's there for
 
Old 07-12-2004, 06:34 PM   #6
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Original Poster
Rep: Reputation: 30
sorry about that. I looked in the documentation and couldn't find it.
 
Old 07-12-2004, 08:36 PM   #7
rehab junkie
Member
 
Registered: Nov 2003
Location: /var/local/pub/bar
Distribution: OSX 10.4.9
Posts: 259

Rep: Reputation: 30
It's also in the install readme, in the section regarding installing packages


Anyhoo
 
  


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
Does the mounting of a *BSD partition on linux work work well when rw ? kloss *BSD 3 10-08-2005 02:21 PM
Open BSD router zaicheke *BSD 5 08-19-2004 12:09 PM
change window mangers on Open BSD zaicheke *BSD 5 07-12-2004 06:36 PM
Open bsd------ORADEF++++ caleb star *BSD 3 02-09-2004 09:20 AM
Choose Free BSD or Open BSD? Which one? explorer1979 *BSD 5 12-15-2002 12:26 PM


All times are GMT -5. The time now is 05:45 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