7 messages in net.sunsource.gridengine.usersRe: [GE users] login shell action on ...
FromSent OnAttachments
cjf001Apr 24, 2009 8:28 am 
jlbApr 24, 2009 8:31 am 
templedfApr 24, 2009 8:34 am 
cjf001Apr 24, 2009 8:47 am 
cjf001Apr 24, 2009 9:00 am 
prenticeApr 24, 2009 12:04 pm 
cjf001Apr 24, 2009 12:36 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [GE users] login shell action on execution nodeActions...
From:prentice (pren@ias.edu)
Date:Apr 24, 2009 12:04:14 pm
List:net.sunsource.gridengine.users

A lot of the GUI features don't work as expected, however the command like tools for SGE *ALWAYS* seem to work. Just yesterday I found that you can't check off the box for "Department" when creating a userset, but I could easily change it using qconf on the command line.

To get the change you want, do 'qconf -mconf' and change

login_shells sh,ksh,csh,tcsh

to

login_shells none

This will do it globally. I'm not sure this is the right place to make this change (you can also change it at the queue-leve with 'qconf -mq <queue_name>'), so I hope someone else can pipe in and verify the correct place (and qconf command) to make this change.

I highly recommend making your config changes on the command line with qconf. It's easier to document, and seem to be more bug-free than the qmon GUI.

-- Prentice

cjf001 wrote:

Interesting. Changing the shell_start_mode to unix_behavior didn't fix the problem (the .login is still run). I tried changing to "none", which is a valid selection in the gui window, but it won't take that selection - error is "Invalid value "NONE" as shell start mode".

In the queue_conf man page, there's no mention of selecting "NONE".

So, I guess I'll just use the "-shell no" command line argument unless there's a better way that anyone has -

Thanks,

John

jlb wrote:

On Fri, 24 Apr 2009 at 10:28am, cjf001 wrote

when a job is submitted via qsub, and it gets dispatched to the execution node, it looks like the user's .login or .bash_profile (or whatever the shell's login sequence calls for) is executed on the execution node. Is there a way to change or prevent this action ? (using SGE 6.2u2)

A couple of ways:

1) Change "shell_start_mode" in the SGE configuration to "unix_behavior" (see sge_conf(5)).

2) Remove the shell(s) of the user(s) in question from "login_shells" (again, see sge_conf(5)).

------------------------------------------------------ http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=181737

To unsubscribe from this discussion, e-mail:
[user@gridengine.sunsource.net].