Subject: | |
From: | |
Reply To: | |
Date: | Thu, 21 Apr 2005 07:35:28 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
If they're ssh'ing in, why are they running gnome jobs, unless their .bashrc
or .login explicitly includes those commands?
Some easy options (but may be ugly on the user end): in sshd_config, turn off
agent forwarding and X11 forwarding. That will prevent agent from working
and X11 from getting a display via ssh proxy.
Otherwise, I'd fix their login scripts so the X and agent stuff isn't run if
logging in via ssh (check for ssh environment variable, see sshd manpage for
details).
Finally, you can touch /etc/nologin or remove those visitors from
/etc/passwd.
Sorry, that last paragraph was a joke.
Regards,
Dan W.
On Thu, Apr 21, 2005 at 12:56:28PM +0200, Gerald Teschl wrote:
> Hi,
>
> most of our boxes are used by visitors. For ever visitor logging in
> and out I have about 1-2 ssh-agent processes which keep runnding plus
> a number of gnome processes (gconf, bonobo, evolution, ...)
>
> So after a short time every box accumulates a large number of useless
> processes. Any suggestions on how to get rid of them/
>
> Gerald
|
|
|