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-09-2003, 09:49 AM   #1
scoob8000
Member
 
Registered: Jun 2003
Distribution: Redhat 8, Redhat 9, Win2k, WinXP
Posts: 64

Rep: Reputation: 15
root users on bsd...


Well, I'm a total newb when it comes to freeBSD, and I'm a little embarassed to ask this question.. What I'm looking to find out is, how can I add another user that I can SU to to achieve full root access?



thanks
 
Old 10-09-2003, 12:30 PM   #2
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Add them to the wheel group.
 
Old 10-09-2003, 01:06 PM   #3
scoob8000
Member
 
Registered: Jun 2003
Distribution: Redhat 8, Redhat 9, Win2k, WinXP
Posts: 64

Original Poster
Rep: Reputation: 15
hrmm.. Sounds simple enough.. But.. My acct is already in the wheel group, but I still need to su for some stuff..
 
Old 10-09-2003, 02:37 PM   #4
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Sorry. I misread the question. root is the only account that should have full access. You could add another usernamed that has a UID of 0, but I would recommend against it. If you need full root access, just su to root. Otherwise, you are opening up a big can of worms.

What are you trying to do as a non-root user?
 
Old 10-10-2003, 05:33 AM   #5
whistles
Member
 
Registered: Aug 2003
Distribution: bsd
Posts: 41

Rep: Reputation: 15
check out /usr/ports/security/sudo it may be what you are looking for.
 
Old 10-10-2003, 07:51 AM   #6
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Yeah, sudo is probably the best path to take to delegate certain admin functions to regular users.
 
Old 10-12-2003, 10:06 AM   #7
scoob8000
Member
 
Registered: Jun 2003
Distribution: Redhat 8, Redhat 9, Win2k, WinXP
Posts: 64

Original Poster
Rep: Reputation: 15
yup, found it finally, userid of 0 is what I was looking for...

-scoob8000
 
Old 10-13-2003, 08:45 AM   #8
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
I hope you realize the implications of what you are doing. Sudo would probably be a better route to take. If you are going to use a UID of 0, you might as well just login in as root.
 
Old 10-20-2003, 06:23 AM   #9
WiZaC
Member
 
Registered: Sep 2003
Location: Denmark
Distribution: FreeBSD
Posts: 110

Rep: Reputation: 15
adduser (incl. sh), and when the user is created, then edit /etc/group, and write your user in wheel =)

WiZaC
 
  


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
Are BSD users allowed here? nweeks LinuxQuestions.org Member Intro 4 01-05-2005 07:16 PM
Hello BSD users! nautilus_1987 *BSD 1 03-20-2004 03:29 PM
Free Bsd Users Mag|c *BSD 2 04-27-2003 03:10 AM
Add Users - Free Bsd Mag|c *BSD 0 03-29-2003 03:23 AM
calling all BSD users.... theneoprotocol Linux - General 1 04-12-2002 06:37 PM

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

All times are GMT -5. The time now is 11:49 PM.

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