[K12OSN] Multiple logins UPDATE

Les Mikesell les at futuresource.com
Wed Sep 22 16:07:09 UTC 2004

On Wed, 2004-09-22 at 10:49, norbert wrote:

> OK the script works, actually it works to well !!! When added to the
> etc/profile script none of the clients can login , the screen just
> cycles back to the login prompt ! HELP !!!!

You still must have some kind of error.  If you still have a
root login and a backup of the original /etc/profile, put it
back for the moment. 

Put the piece you want to add in a separate file somewhere, do
a 'chmod +x filename' to it, then after a normal login, try
sh -x filename
to run it.  The -x is a crude 'debug' mode of the shell that
shows variable expansion and a few other things line-by-line
as the script executes.  Usually that is enough to tell what
is going wrong.

If you aren't still logged in as root and can't log in again
you will probably have to reboot to get back in. Yell if that
is the case - you have to edit the grub kernel line to add the
word 'single' to bring it up single-user, or boot the install
cd in rescue mode.

  Les Mikesell
    les at futuresource.com

More information about the K12OSN mailing list