[Info-vax] SYSMAN design question
George Cornelius
cornelius at eisner.decus.org
Mon Aug 31 18:55:30 EDT 2009
In article <O8JA$G3Ic5it at eisner.encompasserve.org>, koehler at eisner.nospam.encompasserve.org (Bob Koehler) writes:
> In article <00496b63$0$22465$c3e8da3 at news.astraweb.com>, JF Mezei <jfmezei.spamnot at vaxination.ca> writes:
>>
>> Is there a reason why they designed SYSMAN to not use the specified
>> username when executing on the local node ?
>
> What makes you think it's not? Using that username is not the same
> as using that username's privileges. IIRC SYSMAN will start on the
> remote nodes using the same privileges as the process that's running
> it locally, and if you can have more and need to have more, you have
> to turn them on.
It has just historically worked that way. On local node it is a
subprocess of the current process and has the same username.
George Cornelius
----------------------------------------------------------------------------
$ MCR SYSMAN
SYSMAN> ^T
ALPHAE::T419:CORNELIUS 17:40:55 SYSMAN CPU=00:00:04.43 PF=9365 [...]
SYSMAN> set env/clus/user=system
Remote Password:
%SYSMAN-I-ENV, current command environment:
Clusterwide on local cluster
Username SYSTEM will be used on nonlocal nodes
SYSMAN> do write sys$output f$len(f$getj(0,"CURPRIV"))
%SYSMAN-I-OUTPUT, command execution on node ALPHAO
274
%SYSMAN-I-OUTPUT, command execution on node ALPHAV
274
%SYSMAN-I-OUTPUT, command execution on node ALPHAE
46
SYSMAN> do sho proc
%SYSMAN-I-OUTPUT, command execution on node ALPHAO
31-AUG-2009 17:42:54.54 User: SYSTEM Process ID: 3A3C3A9C
Node: ALPHAO Process name: "SMI$SYSTEM_99"
Terminal: MBA9429:
User Identifier: [SYSTEM]
Base priority: 7
Default file spec: SYS$SYSROOT:[SYSMGR]
Number of Kthreads: 1
Soft CPU Affinity: off
%SYSMAN-I-OUTPUT, command execution on node ALPHAV
31-AUG-2009 17:42:54.68 User: SYSTEM Process ID: 3A41D5A0
Node: ALPHAV Process name: "SMI$SYSTEM_22"
Terminal: MBA1343:
User Identifier: [SYSTEM]
Base priority: 7
Default file spec: SYS$SYSROOT:[SYSMGR]
Number of Kthreads: 1
Soft CPU Affinity: off
%SYSMAN-I-OUTPUT, command execution on node ALPHAE
31-AUG-2009 17:42:54.84 User: CORNELIUS Process ID: 3A680E49
Node: ALPHAE Process name: "SMI$CORNELIUS_7"
Terminal: MBA6597:
User Identifier: [CORNELIUS]
Base priority: 4
Default file spec: UDISK:[PROGRAMMERS.CORNELIUS]
Number of Kthreads: 1
Soft CPU Affinity: off
----------------------------------------------------------------------------
More information about the Info-vax
mailing list