[GE users] qmake/qrsh "root" in environment

Andy Schwierskott andy.schwierskott at sun.com
Wed Mar 9 09:30:49 GMT 2005


Marcel,

are you saying that "BASH_ENV" in the job points to /root/.bashrc?

And MAIL, USERNAME, SGE_O_MAIL are set to "root"? Did you verify this on the
execution side?

The setuid mount option only affects the submit side which calls "qrsh" or
"qmake" - submissions just wouldn't work of the client mounts the file
system containing the rsh binary with the nosuid option.

Andy

On Fri, 4 Mar 2005, Marcel Birthelmer wrote:

> Ron Chen wrote:
>> --- Marcel Birthelmer <marcel at carrietech.com> wrote:
>> 
>>>> And is your $SGE_ROOT on an NFS partition?
>>> 
>>> Yes.
>> 
>> 
>> Can be a problem if it is nosuid:
>> 
>> "NOTE: the $SGE_ROOT directory also needs to be
>> NFS-mounted with the "setuid" option. If it is mounted
>> with "nosuid" from your submit client, then qrsh (and
>> associated commands) will not work."
>> 
>> http://gridengine.sunsource.net/project/gridengine/howto/commonproblems.html#interactive
>> 
>> there are ways around it:
>> 
>> 1) mount NFS with setuid (but can be a security hole).
> It's a very small network, I think that'd be ok.
>
>> 
>> 2) put rsh/rlogin in the local file system, and use
>> symlinks to point from NFS to the local ones.
>> 
>> 3) use SSH:
>> http://gridengine.sunsource.net/project/gridengine/howto/qrsh_ssh.html
> Does qmake simply wrap qrsh (i.e. does that take care of both apps)?
>> 
>> 
>>  -Ron
>
> - Marcel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
>
>


Andy

--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Andy Schwierskott           Tel: +49 (0)941 3075-200 (x60200)
N1 Grid Engine Engineering  Fax: +49 (0)941 3075-222 (x60222)
Sun Microsystems GmbH
Dr.-Leo-Ritter-Str. 7       mailto:andy.schwierskott at sun.com
D-93049 Regensburg          http://www.sun.com/gridware

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list