I would like to thank everyone for the reply. Here are the responses for
limiting the number of logins. The original question is at the bottom of
this mail.
-Danovan
Date: Fri, 8 Dec 2000 11:19:41 +0300
From: Hannes Visagie <visagi_h_at_mtn.co.ug>
To: Danovan Golding <golding_at_alpha.fdu.edu>, tru64-unix-managers_at_ornl.gov
Subject: RE: Tru64 and Limiting # of logins
[ The following text is in the "iso-8859-1" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
Yes, easy.
Edit /etc/profile and add at end of file:
LOGCNT=`w | grep $LOGNAME | wc -l`
if [ "$LOGCNT" -gt "1" ] ; then
clear
echo "\n The user - $LOGNAME - has already logged on ..."
exit
fi
On Fri, 8 Dec 2000, Dale Caldwell wrote:
> I've found a utility called IDLED (for Idle Daemon). I'm testing it to log
> off idle sessions, which it seems to be fine at doing. Another feature is
> to set a session limit for users or groups. I haven't tested this part, but
> if it works as easily as the idle part, this may be a tool you want.
>
> http://www.darkwing.com/idled/
>
> I just tested the link so I know it's good. I set it up quickly and it
> looks reasonably easy to configure. Let me know how the session limit
> testing goes if you use this. I'm wanting to roll it out in January to my
> production box.
>
> Good luck
>
> Dale
>
> ----- Original Message -----
> From: "Danovan Golding" <golding_at_alpha.fdu.edu>
> To: <tru64-unix-managers_at_ornl.gov>
> Sent: Thursday, December 07, 2000 8:12 PM
> Subject: Tru64 and Limiting # of logins
>
>
> > Hello,
> >
> >
> > I am running 4.0D and would like to know is it possible to limit a
> > user's logins. For example, can I limit a group of users to have 1 login
> > session. This would not count for the number of user proccess, but for a
> > user session.
> >
> > -Danovan
> >
> >
> >
>
>
Received on Mon Dec 11 2000 - 20:08:56 NZDT