Login begrenzungen?
Alain Schroeder
alain at parkautomat.net
Wed Mar 20 13:10:04 CET 2002
On Tue, Mar 19, 2002 at 09:32:22PM +0100, Florian Lohoff wrote:
> On Tue, Mar 19, 2002 at 08:46:39PM +0100, Alain Schroeder wrote:
> > > fuer asdf in die .bash_profile (die nur fuer root schreibbar ist) ein
> > >
> > > if [ `w asdf | wc -l` -gt 2 ]; then
> > > logout
> > > fi
> >
> > Bei solchen Lösungen muß man bei Netzwerklogins aber aufpassen, das man
> > keine andere Shell auf dem Rechner hat, bzw die Person sich nicht
> > einfach sich selber eine hochläd.
>
> Obiges zeigt alle korrekt in der wtmp/utmp eingetragenen logins. AUCH
> netzlogins.
>
aber wenn eine csh installiert ist und ich ssh <rechner> csh mache, dann
wird die .bash_profile nie ausgeführt? Ich (ok, ich bin nicht der
Durchschnittsuser) hätte auch keine Probleme mir eine Bash zu basteln
und in mein Homedir zu legen, die sich einen Dreck um .bash* kümmert.
Ciao,
Alain
--
Hard work will pay off later. Laziness pays off NOW!
-------------- 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/20020320/8e3d7860/attachment.sig>
More information about the Linux
mailing list