[K12OSN] Multiple logins UPDATE
bear2bar at netscape.net
Wed Sep 22 15:49:25 UTC 2004
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 !!!!
les at futuresource.com wrote:
>On Wed, 2004-09-22 at 08:42, norbert wrote:
>>I've tried the changes, i.e. the "sleep" & removing the "done" but I
>>get the same error message "syntax error: unexpected end of file" WHY
>The <<-EOM syntax starts a 'here document' (that is, input in-line
>in the script) that is terminated by the arbitrary text token used
>(EOM in this case) appearing as the only thing on a subsequent line.
>The '-' part of the command allows leading tabs in front of the text
>and token but you probably have spaces or trailing white space.
>Remove the white space around EOM and it should work.
>>Second how could the script be modified, once it works, to be applied
>>only to a group of users?
>if `groups |grep -q mygroup`
> ...conditional stuff...
> Les Mikesell
> les at futuresource.com
>K12OSN mailing list
>K12OSN at redhat.com
>For more info see <http://www.k12os.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the K12OSN