*embarrased* freebsd su root does nothing

  • sdfhsdfhj
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Mar 24, 2010
  • Posts: 5
  • Status: Offline

Post March 24th, 2010, 6:31 am

Hello,

I recently inherited 4 freebsd servers. I admit i am in deep water (i use ubuntu, but it does everything for you so you don't really learn how to use a *nix system at all) and am starting to read up on freebsd.

For the moment though I have a pretty important stumbling block. When I "su root" nothing happens.

I stay as my current user though it looks like it starts another session as the same user (ctrl d exits out of it).

my user is in wheel, and su root is working on the other three machines, its just this one...
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post March 24th, 2010, 6:31 am

  • sdfhsdfhj
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Mar 24, 2010
  • Posts: 5
  • Status: Offline

Post March 24th, 2010, 6:35 am

Heres what it looks like, no errors or anything:
Code: [ Select ]
[sdfhsdfhj@freebsd4]/home/sdfhsdfhj(13): su root
Password:
[sdfhsdfhj@freebsd4]/home/sdfhsdfhj(101):
  1. [sdfhsdfhj@freebsd4]/home/sdfhsdfhj(13): su root
  2. Password:
  3. [sdfhsdfhj@freebsd4]/home/sdfhsdfhj(101):
  • kc0tma
  • o|||||||o
  • Web Master
  • User avatar
  • Joined: Jul 20, 2007
  • Posts: 3318
  • Loc: Trout Creek, MT
  • Status: Offline

Post March 24th, 2010, 6:59 am

What happens if you type whoami after you type su root and your password?
Like Mr Spork, I also write about my interest in alcoholic beverages.
  • sdfhsdfhj
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Mar 24, 2010
  • Posts: 5
  • Status: Offline

Post March 24th, 2010, 7:22 am

oh.... hrmm. it says root!

So it did switch then? I guess i expected the terminal to change to a pound sign like it did on the other machines.
  • kc0tma
  • o|||||||o
  • Web Master
  • User avatar
  • Joined: Jul 20, 2007
  • Posts: 3318
  • Loc: Trout Creek, MT
  • Status: Offline

Post March 24th, 2010, 9:33 am

It should have, I'm not sure how to make it do so in freebsd. Or at least the thing should have said root@freebsd4 instead of sdfhsdfhj@freebsd4.
Like Mr Spork, I also write about my interest in alcoholic beverages.
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Joined: Sep 22, 2003
  • Posts: 6130
  • Loc: Seattle, WA
  • Status: Offline

Post March 28th, 2010, 3:10 pm

It just looks like your prompt isn't configured to show a "$" or "#". Having the prompt change like that is a feature of the shell, not the system itself. The number in parentheses at the end of your prompt (before the colon) is probably the current user id.
The Beer Monocle. Classy.

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 48 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.