[K12OSN] Multiple logins UPDATE
norbert
bear2bar at netscape.net
Wed Sep 22 15:49:25 UTC 2004
Hi,
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 !!!!
thks
norbert
les at futuresource.com wrote:
>On Wed, 2004-09-22 at 08:42, norbert wrote:
>
>
>>Hi,
>>
>>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`
> then
> ...conditional stuff...
>fi
>
>---
> Les Mikesell
> les at futuresource.com
>
>
>
>_______________________________________________
>K12OSN mailing list
>K12OSN at redhat.com
>https://www.redhat.com/mailman/listinfo/k12osn
>For more info see <http://www.k12os.org>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20040922/a96f99b4/attachment.htm>
More information about the K12OSN
mailing list