HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swacl issue
Operating System - HP-UX
1835078
Members
2698
Online
110073
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
05-30-2002 05:18 AM
05-30-2002 05:18 AM
swacl issue
I have an account on an HPUX that I have added to the 'root' and 'depot' acls to be able to perform swcopy from a remote host.
The issue is, the files are being written in the target directory and owned by root and not the account that I added to the acl.
How can I force ownership and permissions to the account that I added to the acls?
Thanx.
The issue is, the files are being written in the target directory and owned by root and not the account that I added to the acl.
How can I force ownership and permissions to the account that I added to the acls?
Thanx.
Knowledge Is Power
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 05:34 AM
05-30-2002 05:34 AM
Re: swacl issue
Hi
please confirm if you are copying from a cd.
This method can swinstall/swcopy from a
CD-ROM with ACL''s.
1 You Must Become Root
If the CD-ROM has ACL''s in the catalog dir tree,
ex /catalog/pafiles/_ACL, you can swinstall and swcopy from the CD-ROM if you are user "root".
You cannot be non-root user with root privileges. It won't work.
Be "root" and swinstall/swcopy .
2 Copy Depot To Disk
Use UNIX "cp" to copy the depot to your local or NFS mounted drive.
Example, The depot is located on the CD-ROM
as /CD/TOYS then, you can copy the whole depot to /tmp on your local disk (assuming you have the space and privileges) using the command:
cp -pR /CD/TOYS /tmp/TOYS
The SD locking mechanism will then work properly and you can swinstall
and swcopy to your heart''s content as a non-root user having SD "root"
privileges.
W hat are SD "root" privileges?
Say user "ken" needs host install and depot create privileges. As user "root" the system manager needs to execute the following commands:
swacl -l host -M user:ken:a
swacl -l root -M host:ken:a
Then "ken" can create depots using swcopy and swinstall software on the local host.
steve Steel
please confirm if you are copying from a cd.
This method can swinstall/swcopy from a
CD-ROM with ACL''s.
1 You Must Become Root
If the CD-ROM has ACL''s in the catalog dir tree,
ex /catalog/pafiles/_ACL, you can swinstall and swcopy from the CD-ROM if you are user "root".
You cannot be non-root user with root privileges. It won't work.
Be "root" and swinstall/swcopy .
2 Copy Depot To Disk
Use UNIX "cp" to copy the depot to your local or NFS mounted drive.
Example, The depot is located on the CD-ROM
as /CD/TOYS then, you can copy the whole depot to /tmp on your local disk (assuming you have the space and privileges) using the command:
cp -pR /CD/TOYS /tmp/TOYS
The SD locking mechanism will then work properly and you can swinstall
and swcopy to your heart''s content as a non-root user having SD "root"
privileges.
W hat are SD "root" privileges?
Say user "ken" needs host install and depot create privileges. As user "root" the system manager needs to execute the following commands:
swacl -l host -M user:ken:a
swacl -l root -M host:ken:a
Then "ken" can create depots using swcopy and swinstall software on the local host.
steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 05:42 AM
05-30-2002 05:42 AM
Re: swacl issue
Hello Steve-
Just to confirm, I'm not copying from a CD. I am performing the swcopy from a depot on a remote host.
I do note that the acls on the remote host are different from the acls that the user is trying to copy to. Also, he (the user) is using a different account to perform the task.
I am going to add this user's original account to the host acl and retry.
Mike-
Just to confirm, I'm not copying from a CD. I am performing the swcopy from a depot on a remote host.
I do note that the acls on the remote host are different from the acls that the user is trying to copy to. Also, he (the user) is using a different account to perform the task.
I am going to add this user's original account to the host acl and retry.
Mike-
Knowledge Is Power
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2002 04:42 AM
05-31-2002 04:42 AM
Re: swacl issue
Steve, what I decided to do was to check the status of the depot on the remote server. I noted that the permissions on the depot were the same as what swcopy was creating on the target machine, which leads me to believe that swcopy is functioning normally. I have contacted my customer and indicated that he needs to retry the swcopy operation.
Will advise if there are any other issues. Thanx for your assistance.
Mike Elleby
Will advise if there are any other issues. Thanx for your assistance.
Mike Elleby
Knowledge Is Power
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP