Why not just set their shell in the /etc/passwd file to be a wrapper script
for the text program you want them to run.


guest:x:1005:1005::/home/guest:/usr/local/bin/CustomMenu.bsh


/usr/local/bin/CustomMenu.bsh
#!/bin/bash

/usr/bin/somettyncursesprogram opt1 opt2 opt3...optN


On Fri, Nov 28, 2008 at 12:08 AM, Martin Glazer <[EMAIL PROTECTED]> wrote:

>
>
> Dana Harding wrote:
>
>> Would a web server work?
>> That would allow authentication, and restrict the user(s) to only running
>> specified scripts.
>>
>
>
> Unfortunately not as there may not be any network up and running. I suppose
> I could automatically run links or some other text browser locally as they
> logged in.... seems a little complicated though.
>
>
>>
>> bash -r
>> (man bash -> RESTRICTED SHELL)
>> might also be helpful - I've never tried it out, so can't comment on how
>> usable (or - from the restricted user's perspective - how unusable) it is.
>>
>>
>>
> Didn't think of bash -r. I also haven't used it but I will still need
> something on top to provide the menu.
>
> Thanks
>
> Martin
>
>
>
> _______________________________________________
> clug-talk mailing list
> [email protected]
> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> **Please remove these lines when replying
>



-- 
http://www.Radados.org
_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to