[Gllug] Restricting logins
Dylan
dylan at dylan.me.uk
Fri Apr 2 17:30:51 UTC 2004
On Friday 02 Apr 2004 17:31 pm, Christopher Hunter wrote:
> On Friday 02 Apr 2004 5:14 am, Dylan wrote:
> > Lastly, can I prevent these users being su'd to, even by root?
>
> Not in Linux. That partially defeats the purpose of "root"!
would it be possible to execute a script from ~/.bashrc which would
discover if the login was 'real' or an su or ssh or whatever and react
accordingly? e.g. echo a message and logout?
Dylan
--
"I see your Schwartz is as big as mine"
-Big Helmet
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list