- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- permission issue afetr trusted system
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
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
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
01-24-2012 08:59 PM
01-24-2012 08:59 PM
Hi ,
I have a setup wherein am using remsh from one box to another.
as soon as i converted box a and box b trusted ,
the file getting generated on box b using remsh from box a has only 600 permissions.
I tried setting umask 017 in both boxes /etc/profile but o/p still the same.
Suggestions needed .
Thanks.
Solved! Go to Solution.
- Tags:
- umask
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2012 10:06 PM
01-24-2012 10:06 PM
Re: permission issue after trusted system
>the file getting generated on box b using remsh from box a has only 600 permissions.
>I tried setting umask 017 in both boxes /etc/profile but output still the same.
umask permissions for remsh probably come from inetd(1m) and not /etc/profile.
Have you looked in /etc/rc.config.d/* or /etc/inetd.conf?
Also, if it comes from inetd(1m), you will need to restart that demon with:
inetd -k
inetd
Or maybe better:
/sbin/init.d/inetd stop
/sbin/init.d/inetd start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2012 11:21 PM
01-24-2012 11:21 PM
Re: permission issue after trusted system
Hi Dennis ,
In /etc/inetd.conf i have ;
kshell stream tcp nowait root /usr/lbin/remshd remshd -K
where am i supposed to make that umask entry ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2012 01:07 AM
01-25-2012 01:07 AM
Re: permission issue after trusted system
Hi Dennis ,
I am using both ssh and remsh.
for remsh i found its /etc/default/security
for ssh i think should be sshd_config file right ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2012 01:20 AM
01-25-2012 01:20 AM
Re: permission issue after trusted system
Hi:
man inetd
The Internet daemon and the servers it starts inherit the LANG and TZ environment variables and the umask of the process that started inetd. If inetd is started by the superuser, it inherits the superuser's
umask, and passes that umask to the servers it starts.
# umask 017
# inetd -k
# inietd
Verify 'umask' entry in /sbin/init.d/inetd file
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2012 01:29 AM
01-25-2012 01:29 AM
Re: permission issue after trusted system
>for ssh I think should be sshd_config file right?
Yes, that's what I saw.
>Verify 'umask' entry in /sbin/init.d/inetd file
On a untrusted system, I saw it set to 000.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2012 01:36 AM
01-25-2012 01:36 AM
Re: permission issue after trusted system
Hi Rariasn,
I tried after editing that entry in /sbin/init.d/inetd but still the same permissions .
box A contains ssh passwordless script which logins to box B ( trusted ) and creates file of 600 permissions , i want it to be 644.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2012 01:37 AM
01-25-2012 01:37 AM
Re: permission issue after trusted system
Hi Dennis ,
Then what entry to be edited in sshd_config related to umask.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2012 01:53 AM - edited 01-25-2012 02:26 PM
01-25-2012 01:53 AM - edited 01-25-2012 02:26 PM
Re: permission issue after trusted system
>Then what entry to be edited in sshd_config related to umask.
Oops, wrong file. There is SftpUmask in /opt/ssh/etc/sshd_config.
But my file was /etc/rc.config.d/sshd:
There should be a variable with UMASK in it:
SSHD_UMASK=000 # The acceptable values of ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2012 01:54 AM
01-25-2012 01:54 AM
Re: permission issue after trusted system
Hi Dennis ,
No entry with UMASK variable.