Unix administration - booting users off

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > February 2004 > booting users off





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author booting users off
Macpunk

2004-02-26, 2:34 am

If I have root access to a server, and I am the admin what is a
command i can use to see what various users are doing, besides "w" or
"who" and lookingunder the what column, which is pretty vague? also,
how can i kick users off that are behaving poorly? thanks!
Michael Vilain

2004-02-26, 3:34 am

In article <e5e5426d.0402252257.45bdb02e@posting.google.com>,
macpunker@comcast.net (Macpunk) wrote:

> If I have root access to a server, and I am the admin what is a
> command i can use to see what various users are doing, besides "w" or
> "who" and looking under the what column, which is pretty vague? also,
> how can i kick users off that are behaving poorly? thanks!


I think "w" is about the best you'll get, unless you write your own
utility.

Also, what criteria would you use to "kick users off that are behaving
poorly". Define "behaving poorly". There are a bunch of programs, both
free and commercial that kick idle users off the system. Google for
'idled' for the free application.

--
DeeDee, don't press that button! DeeDee! NO! Dee...



Luis Bruno

2004-02-26, 5:33 am

Macpunk wrote:
> how can i kick users off that are behaving poorly? thanks!


I usually:

usermod -L <username> # lock the account
pkill -9 -u <username> # nuke all processes (with prejudice)

I only used these commands in RedHat. Any comments on "portability"?
I think pkill also works in Solaris.

--
Luis Bruno
Jeff Schwab

2004-02-26, 7:33 am

Macpunk wrote:
> If I have root access to a server, and I am the admin what is a
> command i can use to see what various users are doing, besides "w" or
> "who" and lookingunder the what column, which is pretty vague? also,
> how can i kick users off that are behaving poorly? thanks!


ps?

Jeff Schwab

2004-02-26, 7:33 am

Jeff Schwab wrote:
> Macpunk wrote:
>
>
>
> ps?


and kill?

Ed

2004-02-27, 10:34 am

Jeff Schwab <jeffplus@comcast.net> wrote in message news:<jPedncj9DNQ7eqDd4p2dnA@comcast.com>...
> Jeff Schwab wrote:
>
> and kill?


No the sort of question you expect from someone with access to root !
Jeff Schwab

2004-02-27, 10:34 am

Ed wrote:
> Jeff Schwab <jeffplus@comcast.net> wrote in message news:<jPedncj9DNQ7eqDd4p2dnA@comcast.com>...
>
>
>
> No the sort of question you expect from someone with access to root !


When folks ask questions with seemingly obvious answers, I often end up
learning why the my simple solution is wrong in ways that make me feel
horribly naive. The other 1/2 of the time, when my simple answers turn
out to be OK, I'm loathe to rub it in anyone's face.

Dave Hinz

2004-02-27, 9:34 pm

On 27 Feb 2004 06:57:12 -0800, Ed <jedbeer@hotmail.com> wrote:
>
> No the sort of question you expect from someone with access to root !


At least, not from someone who is _supposed to have_ access to root...

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com