- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: chown HP-UX versus linux
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2008 07:24 PM
09-25-2008 07:24 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2008 07:33 PM
09-25-2008 07:33 PM
Re: chown HP-UX versus linux
May I know What Question you have????????
Regards,
Gokul Chandola
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2008 07:43 PM
09-25-2008 07:43 PM
Re: chown HP-UX versus linux
differently for a reason. On HP-UX:
man chown
man 1M setprivgrp
getprivgrp
Some privilege is normally needed on better
operating systems for a user to shed file
ownership, because it affects disk quotas,
and the new owner might not be entirely
pleased by the free gift.
> I logged in to HP-UX [...]
Behaviors like this might be
OS-version-dependent, too. It seldom hurts
to reveal potentially useful info like that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2008 07:51 PM
09-25-2008 07:51 PM
Re: chown HP-UX versus linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2008 11:13 PM
09-25-2008 11:13 PM
Re: chown HP-UX versus linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2008 12:47 AM
09-26-2008 12:47 AM
Re: chown HP-UX versus linux
'chown -R' should work for your own files only and shouldn't work reverse.
See also 'man chown'.
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2008 12:17 AM
09-29-2008 12:17 AM
Re: chown HP-UX versus linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2008 07:08 AM
09-29-2008 07:08 AM
Re: chown HP-UX versus linux
Check to see if SELINUX is being enforced..
I've not had problems with doing the the
chmod and chown -R command on Linux as long as SELINUX is set to Permissive..
use the command
getenforce
it should echo back
Disabled or Permissive
if it says Enforced or Enforcing, you may have to do some work in the SELINUX management tool or disable SELINUX
by doing
setenforce 0
or
chkconfig selinux off
and
service selinux stop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2008 07:09 AM
09-29-2008 07:09 AM
Re: chown HP-UX versus linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2008 07:23 AM
09-29-2008 07:23 AM
Re: chown HP-UX versus linux
I think that selinux is disabled.
The sysadmin did the chown -R probably in about 3 of 4 seconds so my problem is solved. For me the rule is that on linux you have to be root to do chown.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2008 07:24 AM
09-29-2008 07:24 AM
SolutionSee "man 1m setprivgrp" for details.
For example, if the HP-UX sysadmin wishes to allow only root to chown, then the solution is to add the line:
-n CHOWN
to file /etc/privgroup (creating the file if it does not exist) and run "setprivgrp -f /etc/privgroup", or reboot the system.
The CHOWN privilege seems to be enabled to all users by default, at least on HP-UX 11.11 and maybe 11.23. This is probably for legacy compatibility reasons.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2008 07:43 AM
09-29-2008 07:43 AM