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:cjf001 (john@motorola.com)
Date:Apr 24, 2009 9:00:57 am
List:net.sunsource.gridengine.users

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)).

-- ########################################################################### # John Foley # Location: IL93-E1-21S # # IT & Systems Administration # Maildrop: IL93-E1-35O # # Antenna & Mechanical Simulation Grp # Email: john@motorola.com # # Motorola, Inc. - Mobile Devices # Phone: (847) 523-8719 # # 600 North US Highway 45 # Fax: (847) 523-5767 # # Libertyville, IL. 60048 (USA) # Cell: (847) 460-8719 # ########################################################################### (this email sent using Mozilla on Windows)

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

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