- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- How to allow secure file access from SFTP processe...
Operating System - Linux
1753856
Members
7470
Online
108808
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
тАО08-11-2010 09:17 PM
тАО08-11-2010 09:17 PM
How to allow secure file access from SFTP processes with different GIDs ?
Is it possible to allow secure file access from SFTP processes whose primary GID is different ? We do not allow any "other" access.
Say process a has GID of abc and process b has GID of def. Ideally I want to have all the files and directories to have the group GID as abc. But a non root system process also needs to have access, but the GID is def. In the OpenVMS world we can achieve this with Access Control Lists.
What can be done in the linux world ?
Say process a has GID of abc and process b has GID of def. Ideally I want to have all the files and directories to have the group GID as abc. But a non root system process also needs to have access, but the GID is def. In the OpenVMS world we can achieve this with Access Control Lists.
What can be done in the linux world ?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2010 10:23 PM
тАО08-11-2010 10:23 PM
Re: How to allow secure file access from SFTP processes with different GIDs ?
Answering my own question I find
$ uname -a
Linux test_box 2.4.21-52.ELsmp #1 SMP Tue Sep 25 15:13:04 EDT 2007 i686 i686 i386 GNU/Linux
$ setfacl --version
setfacl 2.2.3
$ uname -a
Linux test_box 2.4.21-52.ELsmp #1 SMP Tue Sep 25 15:13:04 EDT 2007 i686 i686 i386 GNU/Linux
$ setfacl --version
setfacl 2.2.3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2010 10:35 PM
тАО08-11-2010 10:35 PM
Re: How to allow secure file access from SFTP processes with different GIDs ?
> [...] In the OpenVMS world [...]
In VMS, a user belongs to exactly one group.
In a UNIX(-like) OS, a user can belong to
many groups. Some things which require an
ACL in VMS can be done using group
permissions in GNU/Linux, by adding users to
the right group.
In VMS, a user belongs to exactly one group.
In a UNIX(-like) OS, a user can belong to
many groups. Some things which require an
ACL in VMS can be done using group
permissions in GNU/Linux, by adding users to
the right group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2010 10:43 PM
тАО08-11-2010 10:43 PM
Re: How to allow secure file access from SFTP processes with different GIDs ?
We are dealing with SFTP operations. AFAIK who cannot change the GID during and SFTP operation. The fundamental problem is we run two major applications, one which if implemented correctly uses virtual uid and gids and other which requires real uid and gids. virtual meaning not in /etc/passwd or /etc/group. The application controls the access.
If the ACL works as I read, then the real uid, gid will be granted access using the acl and others by the application.
If the ACL works as I read, then the real uid, gid will be granted access using the acl and others by the application.
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