Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: scriptOmatic <ScriptOmatic@ChironComputing.Com>
Subject: Re: login options
Date: Wed, 02 Oct 2002 18:33:58 GMT	[thread overview]
Message-ID: <3D9B3B71.3AD83380@ChironComputing.Com> (raw)
In-Reply-To: anfdpd$du20k$1@ID-41415.news.dfncis.de

laredo wrote:
> 
> Hello,
> is it possible set the number of session per user? p.e. limit the root login
> to 5. And how I can get that when a user log in a system the system register
> this login in a log file.?
> thank in advance
> Cesar Bravo

I don't think there is a way to tell the system to limit the number
of login's -- this is kind of the reverse direction that UNIX goes in!
:-)

However, you could write some script and add it to /etc/profile and/or
/etc/login
that checks the number of logins for a given user, possible working with
the output
of "last" (see man last).  
Hope this helps!

-- 
http://ftp.opensysmon.com is a shell script archive site with an
opensource system monitoring software package designed for scripts
and fully compatible with cron.


  reply	other threads:[~2002-10-02 18:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-02 18:14 login options laredo
2002-10-02 18:33 ` scriptOmatic [this message]
2002-10-02 18:39 ` Ann Majeske
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox