[GE users] Plz help with strange shepherd message

Viktor Oudovenko udo at physics.rutgers.edu
Tue May 27 21:26:26 BST 2008


 
> The /usr/sge/utilbin/lx24-x86/rsh is also owned by root and 
> has the set-uid bit set - and not mounted with "nosuid"? 

Yes.

[16:25:17]udo at sub04n157:/opt/SGE/utilbin/lx24-x86>ls -la
total 5659
drwxr-xr-x 2 root bin      848 2005-05-24 04:22 .
drwxr-xr-x 3 root root      72 2007-04-19 18:31 ..
-rwxr-xr-x 1 root root  146665 2005-05-24 04:22 adminrun
-rwxr-xr-x 1 root root   45704 2005-05-24 04:22 berkeley_db_svc
-rwxr-xr-x 1 root root  157915 2005-05-24 04:22 checkprog
-rwxr-xr-x 1 root root  146081 2005-05-24 04:22 checkuser
-rwxr-xr-x 1 root root    6412 2005-05-24 04:22 db_archive
-rwxr-xr-x 1 root root    8064 2005-05-24 04:22 db_checkpoint
-rwxr-xr-x 1 root root   11236 2005-05-24 04:22 db_dump
-rwxr-xr-x 1 root root   18588 2005-05-24 04:22 db_load
-rwxr-xr-x 1 root root  146398 2005-05-24 04:22 filestat
-rwxr-xr-x 1 root root   21588 2005-05-24 04:22 fstype
-rwxr-xr-x 1 root root  440237 2005-05-24 04:22 gethostbyaddr
-rwxr-xr-x 1 root root  440072 2005-05-24 04:22 gethostbyname
-rwxr-xr-x 1 root root  440390 2005-05-24 04:22 gethostname
-rwxr-xr-x 1 root root  146666 2005-05-24 04:22 getservbyname
-rwxr-xr-x 1 root root  168517 2005-05-24 04:22 infotext
-rwxr-xr-x 1 root root  151178 2005-05-24 04:22 loadcheck
-rwxr-xr-x 1 root root   13962 2005-05-24 04:22 now
-rwxr-xr-x 1 root root  400174 2005-05-24 04:22 openssl
-rwxr-xr-x 1 root root  171933 2005-05-24 04:22 qrsh_starter
-rwsr-xr-x 1 root root   25682 2005-05-24 04:22 rlogin
-rwsr-xr-x 1 root root   20273 2005-05-24 04:22 rsh
-rwxr-xr-x 1 root root  194984 2005-05-24 04:22 rshd
-rwxr-xr-x 1 root root 1047461 2005-05-24 04:22 sge_share_mon
-rwxr-xr-x 1 root root  132587 2005-05-24 04:22 spooldefaults
-rwxr-xr-x 1 root root  155829 2005-05-24 04:22 spooledit
-rwxr-xr-x 1 root root 1053142 2005-05-24 04:22 spoolinit
-rwsr-xr-x 1 root root   14881 2005-05-24 04:22 testsuidroot
-rwxr-xr-x 1 root root   14930 2005-05-24 04:22 uidgid
[16:25:19]udo at sub04n157:/opt/SGE/utilbin/lx24-x86>



>The 
> process tree of the slave process should look like:
> 
> $ ps -e f -o user,ruser,command
> 
> sgeadmin root      \_ sge_shepherd-67517 -bg
> root     root          \_ /usr/sge/utilbin/lx24-x86/rshd -l
> anyuser anyuser          \_ /usr/sge/utilbin/lx24-x86/qrsh_starter / 
> var/spool/sge/node43/active_jobs/67517.1/17.node43
> anyuser anyuser              \_ /opt/chemsoft/mybinary

Also yes.

root      3081  0.0  0.0   2660   864 ?        Ss   May21   0:02
/usr/sbin/xinetd
sgeadmin  3219  0.4  0.4   6336  4188 ?        S    May21  37:47
/opt/SGE/bin/lx24-x86/sge_execd
sgeadmin  3135  0.0  0.0   2788   912 ?        S    08:58   0:00  \_
sge_shepherd-186328 -bg
root      3136  0.0  0.0   2772   844 ?        Ss   08:58   0:00  |   \_
/opt/SGE/utilbin/lx24-x86/rshd -l
camjayi   3137  0.0  0.0   1976   580 ?        S    08:58   0:00  |       \_
/opt/SGE/utilbin/lx24-x86/qrsh_starter /opt/SGE/spool/sub04n157/
camjayi   3138 99.5  4.6  81348 48616 ?        R    08:58 445:36  |
\_ /home/camjayi/ctqmc/ctqmc sub04n178 44435   4amslave -p4your
camjayi   3139  0.0  0.0   3340   236 ?        S    08:58   0:00  |
\_ /home/camjayi/ctqmc/ctqmc sub04n178 44435   4amslave -p4
sgeadmin  3140  0.0  0.0   2792   916 ?        S    08:58   0:00  \_
sge_shepherd-186328 -bg
root      3141  0.0  0.0   2760   828 ?        Ss   08:58   0:00      \_
/opt/SGE/utilbin/lx24-x86/rshd -l
camjayi   3142  0.0  0.0   1976   580 ?        S    08:58   0:00          \_
/opt/SGE/utilbin/lx24-x86/qrsh_starter /opt/SGE/spool/sub04n157/
camjayi   3143 99.9  4.6  81344 48640 ?        R    08:58 447:26
\_ /home/camjayi/ctqmc/ctqmc sub04n178 44435   4amslave -p4your
camjayi   3144  0.0  0.0   3336   236 ?        S    08:58   0:00
\_ /home/camjayi/ctqmc/ctqmc sub04n178 44435   4amslave -p4
root      3223  0.0  0.0   2056   648 tty1     Ss+  May21   0:00
/sbin/mingetty --noclear tty1
root      3224  0.0  0.0   2056   632 tty2     Ss+  May21   0:00
/sbin/mingetty tty2


(it is sample of running code).

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


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