[K12OSN] Multiple logins ???
norbert
bear2bar at netscape.net
Wed Sep 22 15:38:43 UTC 2004
Hi Les,
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
script ???
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/cfe91948/attachment.htm>
More information about the K12OSN
mailing list