- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SU behavior in 11.31
Operating System - HP-UX
1752793
Members
6260
Online
108789
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
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
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-09-2010 06:34 AM
06-09-2010 06:34 AM
Before opening a case with HP support, thought I'd ask the collective if they've noticed, or can explain, the following behavior:
On HPUX 11.11 and 11.23, I using "su" to change users preserves the umask setting. Note I am *not* using the "su -" option, on purpose.
# umask
022
# su {anyotheruser}
$ umask
022
On HPUX 11.31 - it's working differently.
# umask
022
# su {anyotheruser}
$ umask
077
!?!??!? It seems the behavior of SU has changed in 11.31, but I cannot find a bit of documentation on this. Heck, maybe it's a bug?
/etc/profile is consistent across all machines, as well as root's .profile, and the {anyotheruser}'s .profile.
I'm hoping you all are seeing the same behavior on your 11.31 machines.
Thanks!
On HPUX 11.11 and 11.23, I using "su" to change users preserves the umask setting. Note I am *not* using the "su -" option, on purpose.
# umask
022
# su {anyotheruser}
$ umask
022
On HPUX 11.31 - it's working differently.
# umask
022
# su {anyotheruser}
$ umask
077
!?!??!? It seems the behavior of SU has changed in 11.31, but I cannot find a bit of documentation on this. Heck, maybe it's a bug?
/etc/profile is consistent across all machines, as well as root's .profile, and the {anyotheruser}'s .profile.
I'm hoping you all are seeing the same behavior on your 11.31 machines.
Thanks!
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2010 03:07 PM
06-09-2010 03:07 PM
Solution
Hello,
If you are certain that no profiles are
involved, then maybe this helps.
http://www11.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=ttr_na-SSB_1000940876
Title: "su" should not modify the umask; "su -" should modify umask like login on 11i v3
PHCO_39370 090903 'su cumulative patch'
Cheers,
VK2COT
If you are certain that no profiles are
involved, then maybe this helps.
http://www11.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=ttr_na-SSB_1000940876
Title: "su" should not modify the umask; "su -" should modify umask like login on 11i v3
PHCO_39370 090903 'su cumulative patch'
Cheers,
VK2COT
VK2COT - Dusan Baljevic
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP