On 08/06/10 21:54, Mike McCarty wrote: > piper.guy1 wrote: >> Sooo...before I do something else that I'm not suppose to do, I >> thought I'd get advise first. My thinking is that I need to get a >> Linux rescue or recovery CD, mount the file system on the hard drive, >> and then add a symlink to bash. Make sense or is there an easier way? > > That seems like the most obvious way to put the system back the > way it was. If you want to get the system more prepared for > the future, you could change the entry in /etc/passwd for your > login to point to /bin/dash or whatever for all users you actually > need to use, like root, yourself, and lfs or whoever.
Safer than editing /etc/passwd by hand is to use the command usermod (read man usermod). Eg (as root) usermod -s /bin/bash $USERNAME Andy -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page