[indiana-discuss] Problem with 'su'?
Shawn Walker
swalker at opensolaris.org
Fri Feb 8 15:01:01 PST 2008
On Feb 8, 2008 4:19 PM, Kyle McDonald <KMcDonald at egenera.com> wrote:
> Shawn Walker wrote:
> > On Feb 8, 2008 4:09 PM, Kyle McDonald <KMcDonald at egenera.com> wrote:
> >
> >> I'm using indiana p2rc1 on my machine. Just installed it on the hard disk.
> >>
> >> I was able to su to root twice, but further attempts recieved the message:
> >>
> >> su: Sorry
> >>
> >> Without even prompting for the password?
> >> The console was full of failed su attempts also.
> >>
> >> Why didn't it even ask for the password?
> >>
> >
> > root is a role in Indiana by default; not a user
> >
> >
> Ok. but if 'su' isn't supported then it shouldn't have worked the first
> 2 times either.
I wasn't trying to say that su shouldn't work; just that things won't
work as usual in some cases :)
> > "pfexec bash" -- for example; will essentially give you "root"
> > privileges in a new instance of bash.
> >
> Well now I can't even login so that doesn't help anymore.
You might try booting to single user mode and doing a text console login.
Either that or you can kill the X server repeatedly with
"Ctrl+Alt+Backspace" and eventually it will stop auto-restarting.
Then you can login at the console with your normal user (hopefully).
It sounds like something went horribly wrong with /export; which could
cause problems.
> > As for your specific issue, it is hard to tell without seeing exactly
> > what you were doing.
> >
> >
> su
> password.
> mkdir /export/Tools/
> chown kjm /export/Tools
> exit
> .
> .
> .
> su
> mkdir /export/Tools/pkgs/RealVNC/E4.3.2
> chown -R /export/Tools/pkgs
> exit
> .
> .
> .
> su
> sh: Sorry.
>
> That's it.
Hrm.
--
Shawn Walker, Software and Systems Analyst
http://binarycrusader.blogspot.com/
"To err is human -- and to blame it on a computer is even more so." -
Robert Orben
More information about the indiana-discuss
mailing list