[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: help..



>in /etc/bashrc file the default shell for the server I added the
>following.. 
>lynx
>logout
>so when users login they will be auto. load to lynx and when they logout
>they exit compelely. By mistake I did change the root shell so I do not
>get stuck like I am at the moment..is there a way I can chang the root
>shell ? I tried all the lynx help files nothing worked..I tried ! to
>break to other shell but it came back..well it is the default..

Boot from a floppy, and remove the line in /etc/bashrc. A better solution
is to make lynx the default shell for those users:

	chsh -s /usr/bin/lynx username

Add /usr/bin/lynx to /etc/shells if you want to avoid the warning.

Tet

--
``A computer without COBOL and FORTRAN is like a piece of chocolate
  cake without ketchup or mustard.''                         -- John Krueger
--------------------+--------------+----------------------------------------
tethys ml com       |  Micro$oft:  | Linux,  the choice of a GNU generation.
tet astradyne co uk | Just say no! | See http://www.uk.linux.org for details



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]