- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Set umask for certain sftp users
Operating System - HP-UX
1753357
Members
4932
Online
108792
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
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
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
тАО02-16-2009 01:37 PM
тАО02-16-2009 01:37 PM
Set umask for certain sftp users
Thought I would be able to perform the following .. Any other ideas how I can do this? I basically want to create a drop box .. write only access without list or read capabilities to their home directory
I added the following line to /opt/ssh/etc/sshd_config
Match User hqdata
SftpUmask 757
/sbin/init.d/secsh start
/opt/ssh/etc/sshd_config line 171: Directive 'SftpUmask' is not allowed within a Match block
EXIT CODE: 255
ssh -V
OpenSSH_5.0p1+sftpfilecontrol-v1.2-hpn13v1, OpenSSL 0.9.7m 23 Feb 2007
HP-UX Secure Shell-A.05.00.012, HP-UX Secure Shell version
Appreciate any help
Richard
I added the following line to /opt/ssh/etc/sshd_config
Match User hqdata
SftpUmask 757
/sbin/init.d/secsh start
/opt/ssh/etc/sshd_config line 171: Directive 'SftpUmask' is not allowed within a Match block
EXIT CODE: 255
ssh -V
OpenSSH_5.0p1+sftpfilecontrol-v1.2-hpn13v1, OpenSSL 0.9.7m 23 Feb 2007
HP-UX Secure Shell-A.05.00.012, HP-UX Secure Shell version
Appreciate any help
Richard
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2009 01:42 PM
тАО02-16-2009 01:42 PM
Re: Set umask for certain sftp users
Shalom,
Either the ssh version needs update or you should set this in the actual user profiles.
SEP
Either the ssh version needs update or you should set this in the actual user profiles.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2009 01:43 PM
тАО02-16-2009 01:43 PM
Re: Set umask for certain sftp users
Sorry .. should have been umask 507
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2009 01:59 PM
тАО02-16-2009 01:59 PM
Re: Set umask for certain sftp users
Steven .. I don't believe that sftp will source .profile .kshrc or .netrc .. so I'm not sure which profile you are referring to .. Also, the man page for sshd_config says that sftpumask is not valid the Match parameter, so I doubt that upgrading ssh will do anything as well ..
Thanks
Thanks
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