*embarrased* freebsd su root does nothing

  • sdfhsdfhj
  • Newbie
  • Newbie
  • sdfhsdfhj
  • Posts: 5

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • sdfhsdfhj
  • Newbie
  • Newbie
  • sdfhsdfhj
  • Posts: 5

Post 3+ Months Ago

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
  • Posts: 3318
  • Loc: Trout Creek, MT

Post 3+ Months Ago

What happens if you type whoami after you type su root and your password?
  • sdfhsdfhj
  • Newbie
  • Newbie
  • sdfhsdfhj
  • Posts: 5

Post 3+ Months Ago

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
  • Posts: 3318
  • Loc: Trout Creek, MT

Post 3+ Months Ago

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.
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6252
  • Loc: Seattle, WA

Post 3+ Months Ago

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.

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 35 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.