[Gllug] Restricting logins

Bruce Richardson itsbruce at uklinux.net
Fri Apr 2 20:03:26 UTC 2004


On Fri, Apr 02, 2004 at 06:30:51PM +0100, Dylan wrote:
> 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?

That would not be the most secure method, really.

-- 
Bruce

Hummingbirds are the only birds that can fly backwards, apart from
ostriches if you punch them hard enough.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20040402/a46fd94d/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list