- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rexec and umask
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО04-04-2006 11:35 PM
тАО04-04-2006 11:35 PM
rexec and umask
In the past someone has setup rexec with .netrc to allow code to be executed remotely.
When I logon to all systems and run umask, I get the expected default of 077.
However, when I run the following:
rexec
Most systems report 00 and one or two report 077.
I have trawled around the machines to try and identify how this is setup, but to no avail.
Has anyone come across anything like this before?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 11:40 PM
тАО04-04-2006 11:40 PM
Re: rexec and umask
welcome to ITRC forums!
Have you had a look in the /etc/default/security file ?
See man 1m rexecd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 11:42 PM
тАО04-04-2006 11:42 PM
Re: rexec and umask
# grep umask /etc/init.d/inetd
umask 000
If you change this remembet to start/stop the inet deamon.
# /sbin/init.d/inetd stop
# /sbin/init.d/inetd start
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 11:46 PM
тАО04-04-2006 11:46 PM
Re: rexec and umask
1) /sbin/init.d/inetd startup file to set umask
2) /etc/profile or $HOME/.profile for that remote user to set umask.
rexec
or
/etc/profile or $HOME/.profile
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 11:59 PM
тАО04-04-2006 11:59 PM
Re: rexec and umask
Many thanks for all your replies. Unfortunately - I've gone through much of what you suggested already.
Peter,
/etc/default/securetty is not set on any of the systems involved.
/etc/securetty is set only to the console.
Robert-Jan,
There is not /etc/init.d/inetd file. I have check /sbin/init.d/inetd and can see a umask setting of 000. However this is consistent across all machines.
Muthu,
umask is not set in /etc/profile or .profile for any of these systems.
Any more suggestions would be much appreciated!!