[K12OSN] Multiple logins ???
bear2bar at netscape.net
Wed Sep 22 15:38:43 UTC 2004
THANKS the empty spaces were the culprit, now the testing starts. The
bit of code is simple enough but how do I integrate within that original
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