Sujet : Re: System UICs
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.vmsDate : 08. Jun 2024, 01:26:13
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v408f5$29nhl$3@dont-email.me>
References : 1 2 3 4 5 6
User-Agent : Pan/0.158 (Avdiivka; )
On Fri, 7 Jun 2024 20:11:13 -0400, Arne Vajhøj wrote:
VMS allows multiple usernames with same UIC, but it practically
never happens.
The point being that privilege separation is done based on UIC, not
username. For example, on *nix, a daemon might start out as root and then
call setuid(2) and friends to isolate the current process as a
nonprivileged user. The UID to use can be easily obtained by looking up a
symbolic username in the /etc/passwd file. How would you do this on VMS?