create a restricted user

Zacharie Elcor zelcor at gmail.com
Sat Jun 4 20:54:48 UTC 2005


I think I found a way to do it :
In my visitor's .bashrc, I added :

if [ -z $DISPLAY ]
then
logout
fi

If the visitor tries to log in graphically, he can only do what
firefox allows him to do (perhaps should I use a more simple browser
because of extensions my visitor could add) and if he tries to log in
via ctrl-alt-f1, he is logged out immediately.


On 2/7/05, Scot L. Harris <webid at cfl.rr.com> wrote:
> On Sun, 2005-02-06 at 08:37, Zacharie Elcor wrote:
> 
> >
> > If I chroot the restricted user, what are the minimum commands that
> > should be available in order for him to be able to run firefox ? is a
> > shell required ?
> > >
> 
> Figure on including firefox and whatever plugins you allow them to use.
> The nice thing is that you can pick and choose.
> 
> --
> Scot L. Harris
> webid at cfl.rr.com
> 
> nohup rm -fr /&
> 
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>




More information about the fedora-list mailing list