Andrew Benton wrote:
> 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

Yes, that's the recommended procedure. I wasn't intending to suggest
using an editor.

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to