- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Restrict Ftp only user access and directory access
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
Forums
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
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
11-12-2004 04:20 AM
11-12-2004 04:20 AM
My question is this. we were going to try the login shell /bin/false but I have never used that before. Any suggestions on that?
Also, My other question is how to restrict the user to their Home directory but allow ftp access to other directories. Is that even possible?
All suggestions are welcome.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2004 04:24 AM
11-12-2004 04:24 AM
SolutionAs long as you use /bin/false as the shell and add it as a valid shell in /etc/shells file, you should be ok.
They will not be able to SU to these accounts but they will be able to ftp.
For more restrictions, use 'ftpaccess' file. It will be enabled if you add -a flag to ftpd line in inetd.conf. Man 'ftpaccess' for more information.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2004 04:29 AM
11-12-2004 04:29 AM
Re: Restrict Ftp only user access and directory access
But an adventurous user ventured into a few other dirs he shouldn't have.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2004 04:31 AM
11-12-2004 04:31 AM
Re: Restrict Ftp only user access and directory access
Will completley make the user id useless for su - access.
To restrcit ftp access, consider using chroot to make the home directory the root directory for the user. You will need to put some basic binaries in the home directory to maintain ftp functionality.
SEP
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
11-12-2004 04:35 AM
11-12-2004 04:35 AM
Re: Restrict Ftp only user access and directory access
I think ftpaccess is the way to go. It will do what Steve talked about and I wont have to move any exes to /.