root problems! - Solved!

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
Subject: root problems! - Solved!
On Fri, 2002-09-27 at 20:21, Alan Dayley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Thanks all for your help!
>
> I tried to use appended commands to bring up an alternate shell. It worked
> but it would only mount the hard drive file system as read-only. I tried to
> change the "ro" in the GRUB link to "rw" but that didn't seem to solve it.
>
> So, out came my Red Hat 7.3 System Administrator's Survival CD. Booting with
> that it had an option during the boot to mount the file systems as
> read-write. I went to my hard drive /bin and did the "chmod 755 bash"
> command. Rebooted and all is well! Nice little rescue CD, that one!
>
> Well, I now know not to use chmod because I THINK I know what it will do.
>

---
also

when you su to root, do it as 'su -' as the dash will make it a login
shell and load the root settings (such as the paths)

Craig