HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with sd-ux using swlist as a normal user
Operating System - HP-UX
1827376
Members
4389
Online
109963
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
07-05-2006 12:02 AM
07-05-2006 12:02 AM
Problem with sd-ux using swlist as a normal user
Hy people,
Up to now in al my machines with a normal user i am able to do a swlist, i have come up with one that wont let me swlist as a normal user:
swlist
# Initializing...
# Contacting target "ananke1"...
WARNING: Security access denied to file "//var/adm/sw/products/INDEX".
ERROR: "an1:/": You do not have the required permissions to
perform this operation. Check permissions using the "swacl"
command or see your system administrator for assistance. Or,
to manage applications designed and packaged for nonprivileged
mode, see the "run_as_superuser" option in the "sd" man page.
in any other machine with exactly the same user i can list the software.
I have killed swagentd, i have looked with swacl, but nothing , with both users when i do a cat to /var/adm/sw/products/INDEX i get a permission denied so its nothing to do with unix perms.
What else can i try any idea??
thnx!!
Up to now in al my machines with a normal user i am able to do a swlist, i have come up with one that wont let me swlist as a normal user:
swlist
# Initializing...
# Contacting target "ananke1"...
WARNING: Security access denied to file "//var/adm/sw/products/INDEX".
ERROR: "an1:/": You do not have the required permissions to
perform this operation. Check permissions using the "swacl"
command or see your system administrator for assistance. Or,
to manage applications designed and packaged for nonprivileged
mode, see the "run_as_superuser" option in the "sd" man page.
in any other machine with exactly the same user i can list the software.
I have killed swagentd, i have looked with swacl, but nothing , with both users when i do a cat to /var/adm/sw/products/INDEX i get a permission denied so its nothing to do with unix perms.
What else can i try any idea??
thnx!!
Windows?, no thanks
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2006 12:11 AM
07-05-2006 12:11 AM
Re: Problem with sd-ux using swlist as a normal user
Sorry i have it!, i forgot to look at the swacl of root, it didnt have the line:
swacl -l root -M any_other:-r---
Thnx all!!
swacl -l root -M any_other:-r---
Thnx all!!
Windows?, no thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2006 12:17 AM
07-05-2006 12:17 AM
Re: Problem with sd-ux using swlist as a normal user
There are two options for you, please first try this and see if it works:
1. Login as root
2. Stop swagentd
#/sbin/init.d/swagentd stop
3. Verify swagentd has stopped:
#ps â ef | grep swagentd
4. Change directory to /var/adm/sw:
# cd /var/adm/sw
5. Move the directory /var/adm/sw/security and its contents:
# mv security security.orig
6. Copy the directory and its contents
from /usr/newconfig/var/adm/sw/security to /var/adm/sw/security
#cp â Rp /usr/newconfig/var/adm/sw/security /var/adm/sw/security
7. Start swagentd:
#/sbin/init.d/swagentd start
8. Verify swagentd has started:
#ps â ef | grep swagentd
If this does not work, then try this:
$swacl -l root (this gives the output of what is currently set)
$swacl -l root -M any_other:r (this changes the access perms)
If you need to undo the above,
$swacl -l root -D any_other:r
Regards and good luck, jaime.
1. Login as root
2. Stop swagentd
#/sbin/init.d/swagentd stop
3. Verify swagentd has stopped:
#ps â ef | grep swagentd
4. Change directory to /var/adm/sw:
# cd /var/adm/sw
5. Move the directory /var/adm/sw/security and its contents:
# mv security security.orig
6. Copy the directory and its contents
from /usr/newconfig/var/adm/sw/security to /var/adm/sw/security
#cp â Rp /usr/newconfig/var/adm/sw/security /var/adm/sw/security
7. Start swagentd:
#/sbin/init.d/swagentd start
8. Verify swagentd has started:
#ps â ef | grep swagentd
If this does not work, then try this:
$swacl -l root (this gives the output of what is currently set)
$swacl -l root -M any_other:r (this changes the access perms)
If you need to undo the above,
$swacl -l root -D any_other:r
Regards and good luck, jaime.
Work hard when the need comes out.
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP