Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
logon limits?

logon limits?

2006-06-20       - By Rick Stevens

 Back
Reply:     1     2     3     4  

On Tue, 2006-06-20 at 10:44 -0700, chuck lawrence wrote:
> hi,
>
> thanks to all for the bigmem/hugemem advice.  my dual opteron now sees
> 8gb.  on to a different question...
>
> my windows AD domain allows me to set domain users "logon hours", which
> supposedly can limit specific users to specific hours.  is there a linux
> equivalent?

Yes.  It's a bit long to go into in an email posting, but if you do
"man login" and look at the "SPECIAL ACCESS RESTRICTIONS" section
dealing with /etc/usertty, you'll see how to do it.

> I'm planning to convert my whole family to linux, with codeweavers to
> deal with the handful of windows-only stuff.  it'd be cool to be
> draconian and kick my kids off automatically.

Oh, well, kicking your kids off automatically is a totally different
thing.  What I describe above sets login restrictions...it does nothing
for kicking them off once they're logged in.

If you do want to kick them off, that's fairly easily done by having
root's crontab launch a shell script that parses the output of "who",
"lastlog" or "ps -U kid-user-name" and issues kill commands to the kids'
shells.  For example, assuming the kid's username is "fred", you could:

  ps -U fred | awk '{system("kill -9 "$1)}'

Note that it's pretty drastic...it will pull the rug out from them
completely leaving open files, etc.  You have been warned!

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
- Rick Stevens, Senior Systems Engineer     rstevens@(protected) -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-          Consciousness: that annoying time between naps.           -
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Redhat-install-list mailing list
Redhat-install-list@(protected)
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@(protected)
Subject: unsubscribe