- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: rexec/remsh command creates restricted file in...
Operating System - Linux
1822916
Members
3747
Online
109645
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
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
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
тАО08-02-2007 08:28 AM
тАО08-02-2007 08:28 AM
rexec/remsh command creates restricted file in HP-UX B.11.23 U ia64 box
Not sure if this question is appropriate for this section.. but still posting it just so if someone can help, or someone faced similar problem..
To put the problem in short,
The rexec and remsh command targetting to HP-UX ia64 box is creating file
with -rw------- permission in HP-UX B.11.23 U ia64 box. Whereas we want the created file permission to be -rw-rw-rw-
However, HP-UX B.11.11 U 9000/800 boxes are all good.
Example :
HPPARISC$ remsh -l -n touch afile it creates very restricted file in IA64 box.
-rw------- 1 adcf81t zxxincb1 0 Jul 25 17:17 afile
whereas when I run following command
HPIA64$ remsh -l -n touch afile it creates file with good required permission in PARISC box.
-rw-rw-rw- 1 adcf81t zxxincb1 0 Jul 25 17:18 afile
The man page for rexecd and remshd both are referring to same /etc/default/security file.
So I added following line in
/etc/default/security file in HP-UX B.11.23 U ia64 Unix box.
UMASK=000
Just wondering if the machine needs to be restarted before this comes into effect ? or anything I missed or wrongly did ?
Because after even adding that line in that file, it didn't work.
Although the man page of security(4) says that
default value: UMASK=0
Any tip I could try ?
Thanks
Rabi
To put the problem in short,
The rexec and remsh command targetting to HP-UX ia64 box is creating file
with -rw------- permission in HP-UX B.11.23 U ia64 box. Whereas we want the created file permission to be -rw-rw-rw-
However, HP-UX B.11.11 U 9000/800 boxes are all good.
Example :
HPPARISC$ remsh
-rw------- 1 adcf81t zxxincb1 0 Jul 25 17:17 afile
whereas when I run following command
HPIA64$ remsh
-rw-rw-rw- 1 adcf81t zxxincb1 0 Jul 25 17:18 afile
The man page for rexecd and remshd both are referring to same /etc/default/security file.
So I added following line in
/etc/default/security file in HP-UX B.11.23 U ia64 Unix box.
UMASK=000
Just wondering if the machine needs to be restarted before this comes into effect ? or anything I missed or wrongly did ?
Because after even adding that line in that file, it didn't work.
Although the man page of security(4) says that
default value: UMASK=0
Any tip I could try ?
Thanks
Rabi
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2007 08:42 AM
тАО08-02-2007 08:42 AM
Re: rexec/remsh command creates restricted file in HP-UX B.11.23 U ia64 box
Hi,
# grep -i umask /sbin/init.d/inetd
if you change the umask setting, you will need to restart the /sbin/init.d/initd daemon.
US
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c00921584-1
Europe
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c00921584-1
Robert-Jan
# grep -i umask /sbin/init.d/inetd
if you change the umask setting, you will need to restart the /sbin/init.d/initd daemon.
US
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c00921584-1
Europe
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c00921584-1
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2007 09:52 AM
тАО08-02-2007 09:52 AM
Re: rexec/remsh command creates restricted file in HP-UX B.11.23 U ia64 box
I see that the inetd file is very old.
-r-xr-xr-x 1 bin bin 1611 Sep 3 2003 /sbin/init.d/inetd
Do you mean if I change anything in /etc/default/security file, like adding a line UMASK=000 in there... and then I need to restart the inetd deamon to make that effective ?
Please confirm.
Thanks for your quick response.
Regards,
Rabi
-r-xr-xr-x 1 bin bin 1611 Sep 3 2003 /sbin/init.d/inetd
Do you mean if I change anything in /etc/default/security file, like adding a line UMASK=000 in there... and then I need to restart the inetd deamon to make that effective ?
Please confirm.
Thanks for your quick response.
Regards,
Rabi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2008 01:04 PM
тАО03-22-2008 01:04 PM
Re: rexec/remsh command creates restricted file in HP-UX B.11.23 U ia64 box
did u fix the mentioned issue?
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP