[HPADM] RE: rstchown on HP -- _POSIX_CHOWN_RESTRICTED
From: Srinath Rajagopalan (srinath_at_nortel.com)
To: "'hpux-admin@DutchWorks.nl'" <hpux-admin@DutchWorks.nl> Date: Tue, 29 Mar 2005 18:27:29 -0500
I didn't receive any response on this. Would appreciate if you could
provide your thoughts on this. Basically, I would like to know what the
POSIX/Industry standard is for this setting, if indeed HP chose to leave it
"disabled" by default, how would one go about re-setting it to "enabled"
(would this be done via setprivgrp -n or inputting the privileges in
/etc/privgrp?), any idea as to why the standard is different from the
Solaris/RedHat Linux standard (where it seems to be "enabled" by default).
Appreciate your help.
From: hpux-admin-owner@DutchWorks.nl [mailto:hpux-admin-owner@DutchWorks.nl]
On Behalf Of Rajagopalan, Srinath [RICH2:1108:EXCH]
Sent: Monday, March 28, 2005 5:56 PM
Subject: [HPADM] rstchown on HP -- _POSIX_CHOWN_RESTRICTED
Was wondering if you folks would provide your input on "rstchown" and
what is the general recommendation for it from a OS perspective?. It is my
understanding that "rstchown" is disabled by default (letting users be able
to chown their data) on HP (10.20 as well as 11i?), from my searches, I
haven't been able to figure out if there is an easy way to change this, if
needed?. I see it is being tied to _POSIX_CHOWN_RESTRICTED variable (from
the man pages of pathconf/fpathconf, nothing about rstchown in "man 2
chown"). Also, it looks like it can be changed using "setprivgrp" (man 1m
setprivgrp, man getprivgrp) along with a /etc/privgrp file, wanted to see if
I could get some details on this?. Is the POSIX standard to leave this
"enabled", if so, any idea why HP chose to go the other-way around (Solaris
for instance seems to leave this "enabled" by default, with an option to
reset it by defining rstchown=0 in /etc/system, RH Linux seems to leave it
"enabled" by default as well)?. Appreciate your inputs, I shall summarize.
-- ---> Please post QUESTIONS and SUMMARIES only!! <--- To subscribe/unsubscribe to this list, contact firstname.lastname@example.org Name: email@example.com Owner: firstname.lastname@example.org Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only) http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)