HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: umask setting & ssh -t
Operating System - HP-UX
1834174
Members
2609
Online
110064
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
08-04-2008 10:28 PM
08-04-2008 10:28 PM
Hello HP-Admins. I have an issue with umask. If I issue the command "ssh -t /usr/bin/ksh" I end up with a umask 0!. I tested it out on another box with the same ssh version and there the setting is ok 022. settings in /sbin/rc and /etc/profile & /.profile are identical but I assume it is set somewhere else. I only dont know where
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2008 11:29 PM
08-04-2008 11:29 PM
Solution
Is your sshd started in a non-standard fashion in the box that has the problem? Maybe someone has hooked it up directly to /etc/inittab.
The standard way would be to start it using /sbin/init.d/secsh (for HP-UX ssh, at least in some versions) or /sbin/init.d/ssh.
In some old (10.20/11.00), unpatched HP-UX box I once saw, I think some custom processes that were started from /etc/inittab had umask 000. As far as I could determine, this was a hardcoded default value from the init process... or maybe even from the kernel. But my memory is hazy on this one.
MK
The standard way would be to start it using /sbin/init.d/secsh (for HP-UX ssh, at least in some versions) or /sbin/init.d/ssh.
In some old (10.20/11.00), unpatched HP-UX box I once saw, I think some custom processes that were started from /etc/inittab had umask 000. As far as I could determine, this was a hardcoded default value from the init process... or maybe even from the kernel. But my memory is hazy on this one.
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2008 11:46 PM
08-04-2008 11:46 PM
Re: umask setting & ssh -t
Mikka gave the the solution, umask setting is in the startup script of sshd (not sure why it is set to this value).
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