Login begrenzungen?
Florian Lohoff
flo at rfc822.org
Tue Mar 19 17:28:08 CET 2002
On Tue, Mar 19, 2002 at 02:55:03PM +0100, Markus Wigge wrote:
> Tag,
>
> gibt es eine Möglichkeit folgende Szenarien zu konfigurieren:
>
> User "asdf" darf sich nur einmal einloggen parallel laufende
> Einlogversuche müssen abgeblockt werden.
>
> User "qwert" dar sich nur einmal einloggen, danach wird der Account
> gesperrt?
>
> Ich hätte jetzt spontan auf Einstellungen in der /etc/shadow gedacht,
> doch finde ich da jetzt noch nicht genau das was ich suche?
qwert bekommt ein "userdel -r $USER" in die .bash_logout ? Alternativ
chsh auf /bin/true - Um sich nur einmal einloggen zu koennen
fuer asdf in die .bash_profile (die nur fuer root schreibbar ist) ein
if [ `w asdf | wc -l` -gt 2 ]; then
logout
fi
Flo
--
Florian Lohoff flo at rfc822.org +49-5201-669912
Nine nineth on september the 9th Welcome to the new billenium
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20020319/7d5a1bc4/attachment.sig>
More information about the Linux
mailing list