[HPADM] RE: rstchown on HP -- _POSIX_CHOWN_RESTRICTED

From: Srinath Rajagopalan (srinath@nortel.com)
Date: Tue Mar 29 2005 - 18:27:29 EST


Hello Admins,
 
   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.
 
Cheers,
Srinath
  _____

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
To: 'hpux-admin@DutchWorks.nl'
Subject: [HPADM] rstchown on HP -- _POSIX_CHOWN_RESTRICTED

Greetings,

   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.

Cheers,
Srinath

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:46 EDT