NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: can't su, but I can log in as root
Hi,
On Wed, 2 Jul 2008, James K. Lowden wrote:
> Al - image hosting services wrote:
> > > ls -l `which su`
> >
> > ls: -m: No such file or directory
> > ls: aliased: No such file or directory
> > ls: su: No such file or directory
> > ls: su:: No such file or directory
> > ls: to: No such file or directory
>
> That doesn't look right. Please try:
>
> $ which su # just for kicks
> $ command -v su
> $ ls -l $(command -v su)
>
> That should work unless you're running csh.
I was using csh when I did the above.
This is what I got (using sh):
$ which su # just for kicks
/usr/bin/su
$ command -v su
/usr/bin/su
$ ls -l $(command -v su)
-r-sr-xr-x 1 root wheel 15399 May 17 2007 /usr/bin/su
$ su
Password:
su: Sorry: authentication error
I just can't think of what I could be missing.
Thanks,
Al
Home |
Main Index |
Thread Index |
Old Index