clearing space

Peter Risdon peter at circlesquared.com
Fri Jan 7 06:31:07 PST 2005


On Fri, 2005-01-07 at 09:24 -0500, Marty Landman wrote:
> At 08:55 AM 1/7/2005, Joshua Lokken wrote:
> >On Fri, 07 Jan 2005 13:05:42 +0000, Peter Risdon
> >
> > > How about:
> > >
> > > #mv /sbin /usr/sbin
> > > #ln -s /usr/sbin /sbin
> > > #mv /root /usr/root
> > > #ln -s /usr/root /root
> 
> I've run into a little bit of trouble here. I ssh into my fbsd box as user 
> marty in group wheel, then su - as needed.
> 
> As you'll see below, I wasn't able to set up the link for /root and now 
> can't su to root either.
> 
> ++++++++++++++++++++++++++++++++++++++++++++++++++++
> 
> # mv /sbin /usr/sbin
> # ln -s /usr/sbin /sbin
> # mv /root /usr/root
> # ls -s /usr/root /root

Typo here: ls instead of ln - that's why there's no link.

Do you have physical access to the machine?

Peter.




More information about the freebsd-questions mailing list