HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swinstall slow for users with _ in username
Operating System - HP-UX
1829149
Members
2178
Online
109986
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
Go to solution
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
06-15-2006 07:48 AM
06-15-2006 07:48 AM
Re: swinstall slow for users with _ in username
Okay, I've found that tusc has problems running setuid programs when it detects stdout is redirected to a file. We need to outbushwhack it by this subterfuge:
tusc -T '' /usr/sbin/swlist | tee /var/tmp/trace.txt
Hopefully, you can examine the file to see the system call that is preceding all of your gettimeofday() calls. I cannot reproduce this condition so I suspect that it is a libC or swagentd patch issue.
tusc -T '' /usr/sbin/swlist | tee /var/tmp/trace.txt
Hopefully, you can examine the file to see the system call that is preceding all of your gettimeofday() calls. I cannot reproduce this condition so I suspect that it is a libC or swagentd patch issue.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 07:56 AM
06-15-2006 07:56 AM
Re: swinstall slow for users with _ in username
I get permission errors from tusc even when I don't redirect. I am going to try a script as root with a su x_y -c /usr/sbin/swlist ; tusc -fp -T '' `ps -ef | grep swlist | awk...`
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 08:04 AM
06-15-2006 08:04 AM
Re: swinstall slow for users with _ in username
yes, I just realized it has nothing to do with redirected output; however, what you can do it set the setuid bit on the tusc command itself (e.g. chmod 4755 /usr/local/bin/tusc) temporarily and then run your swlist command under tusc as the bad user.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 08:26 AM
06-15-2006 08:26 AM
Re: swinstall slow for users with _ in username
My scripted version does not catch the process early enough.
I got a permission error even with the setuid bit set on tusc, which does not make a lot of sense to me.
I tusced the execution of swlist as root. I will start checking the system calls...
I got a permission error even with the setuid bit set on tusc, which does not make a lot of sense to me.
I tusced the execution of swlist as root. I will start checking the system calls...
- « Previous
-
- 1
- 2
- Next »
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