Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* login options
@ 2002-10-02 18:14 laredo
  2002-10-02 18:33 ` scriptOmatic
  2002-10-02 18:39 ` Ann Majeske
  0 siblings, 2 replies; 3+ messages in thread
From: laredo @ 2002-10-02 18:14 UTC (permalink / raw)


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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: login options
  2002-10-02 18:14 login options laredo
@ 2002-10-02 18:33 ` scriptOmatic
  2002-10-02 18:39 ` Ann Majeske
  1 sibling, 0 replies; 3+ messages in thread
From: scriptOmatic @ 2002-10-02 18:33 UTC (permalink / raw)


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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: login options
  2002-10-02 18:14 login options laredo
  2002-10-02 18:33 ` scriptOmatic
@ 2002-10-02 18:39 ` Ann Majeske
  1 sibling, 0 replies; 3+ messages in thread
From: Ann Majeske @ 2002-10-02 18:39 UTC (permalink / raw)


One way to log logins is to use the Audit subsystem.  There is
information on the Audit subsystem in the Security manual.

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-02 18:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-02 18:14 login options laredo
2002-10-02 18:33 ` scriptOmatic
2002-10-02 18:39 ` Ann Majeske

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