SCIENTIFIC-LINUX-DEVEL Archives

April 2005

SCIENTIFIC-LINUX-DEVEL@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Troy Dawson <[log in to unmask]>
Reply To:
Troy Dawson <[log in to unmask]>
Date:
Thu, 21 Apr 2005 08:13:42 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (51 lines)
Hi Gerald,

Daniel Widyono wrote:
> 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.
> 

Yes, but just think how nice it would be without users.
...
Of course most of us wouldn't have job then ... but for the short time 
before that it would be nice. :)

> 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

Are we talking S.L. 3.0.x, or S.L. 4.0?
And are they logging in remotely or locally.

Troy
-- 
__________________________________________________
Troy Dawson  [log in to unmask]  (630)840-6468
Fermilab  ComputingDivision/CSS  CSI Group
__________________________________________________

ATOM RSS1 RSS2