Re: create a restricted user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2005-06-04 at 22:54 +0200, Zacharie Elcor wrote:
> 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.

And supposing your visitor logs in using ssh with X forwarding turned
on?

Security is *hard* I'm afraid.

Paul.
-- 
Paul Howarth <paul@xxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux