How to limit user login time?

How to limit user login time?

Post by l.. » Thu, 10 Jun 1999 04:00:00



We have AIX 4.3.2 on RS/6000.  I tried to find a way to limit some users can only
login between 9:00AM to 5:00PM.  Does anyone know how to do it?
 
 
 

How to limit user login time?

Post by Walsh Brow » Thu, 10 Jun 1999 04:00:00




Quote:> We have AIX 4.3.2 on RS/6000.  I tried to find a way to limit some
users can only
> login between 9:00AM to 5:00PM.  Does anyone know how to do it?

If you look at the chuser command (man chuser) you will notice that
there is logintimes parameter.  This is supposed to define the days and
time a user can access the system.  This can also be set through SMIT
(smit chuser) Change the 'Allowed LOGIN TIMES' field (you will have to
scroll down).

Hope this helps.

-- Walsh

--
Walsh Brown

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

 
 
 

How to limit user login time?

Post by John Jaszcza » Thu, 10 Jun 1999 04:00:00


Look at the /etc/security/user file. There is an attribute called
logintimes. The header at the top of the file explains how to use it.

-JAZZ

--
John Jaszczak
Romac International
Assigned to: Harmonic Systems, Inc.

612-321-4139


>We have AIX 4.3.2 on RS/6000.  I tried to find a way to limit some users
can only
>login between 9:00AM to 5:00PM.  Does anyone know how to do it?

 
 
 

How to limit user login time?

Post by Christopher J. Matter » Thu, 10 Jun 1999 04:00:00



> We have AIX 4.3.2 on RS/6000.  I tried to find a way to limit some users can only
> login between 9:00AM to 5:00PM.  Does anyone know how to do it?

Did you even *look* at smit before you asked this?  "smit chuser" and
use the "Allowed LOGIN TIMES" field.  Sheesh.

                Chris Mattern

 
 
 

How to limit user login time?

Post by Chris Broschar » Thu, 10 Jun 1999 04:00:00


HAVE ONE MORE ----- O



> > We have AIX 4.3.2 on RS/6000.  I tried to find a way to limit some users
can only
> > login between 9:00AM to 5:00PM.  Does anyone know how to do it?

> Did you even *look* at smit before you asked this?  "smit chuser" and
> use the "Allowed LOGIN TIMES" field.  Sheesh.

>                 Chris Mattern

 
 
 

How to limit user login time?

Post by Norman Levi » Fri, 11 Jun 1999 04:00:00


Look in /etc/security/login.cfg.  Check out "logintimes"
be VERY careful.  The ! in front of the time means NOT during these times.
Do NOT modify the line in the defaults stanza.  I've seen to many people
lock themselves out of their own system.

When testing, make SURE you are logged at another terminal as root in case
you mess up and need to fix login.cfg.
--
Norman Levin
vm/dynAmIX inc.