Results 1 to 8 of 8
How do I su - in FreeBSD I am trying to switch to Root but it keeps telling me sorry. What gives?
Mike...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-19-2005 #1
su -?
How do I su - in FreeBSD I am trying to switch to Root but it keeps telling me sorry. What gives?
MikeSome people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds
- 03-19-2005 #2
You have to be in the wheel group. In the most Linux distros you're in the wheel group by default.
That should fix it.Code:pw user mod USERNAME -G wheel
Edit: sorry forgot you had to have a username too.. :P
- 03-19-2005 #3Once I do this I will be able to su - or will this give my username root privileges by default (not what I am looking for if the second)
Originally Posted by nalg0rath Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds
- 03-19-2005 #4No, you will be able to su to root, you don't have root privs.
Originally Posted by adrenaline
- 03-19-2005 #5Thanks alot. That worked great!!
Originally Posted by nalg0rath
MikeSome people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds
- 06-12-2005 #6Linux Engineer
- Join Date
- Sep 2003
- Location
- Knoxhell, TN
- Posts
- 1,078
you have to be careful when using the '-G' flag for pw(1) usermod... if you don't specify *every* group that the user should be in, his current groups get removed.. i.e. if he was in 'games' and 'disk' and you -G wheel, he will only be in 'wheel'
Their code will be beautiful, even if their desks are buried in 3 feet of crap. - esr
- 06-12-2005 #7Linux Engineer
- Join Date
- Mar 2005
- Posts
- 1,431
I edited it in /etc/group or something I think, that worked neat at least...
- 06-13-2005 #8That's what I do. Easier than the command, IMO (as long as you are careful about things).I edited it in /etc/group or something I think, that worked neat at least...


Reply With Quote
