- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Deny ftp, only for root
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
03-21-2003 10:05 AM
03-21-2003 10:05 AM
Deny ftp, only for root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2003 10:16 AM
03-21-2003 10:16 AM
Re: Deny ftp, only for root
Install SSH and DENY ALL for ftp in it's config file but root?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2003 10:18 AM
03-21-2003 10:18 AM
Re: Deny ftp, only for root
But here's a thought to at least try..
Maybe create a unique group and make root the only member. Then in your ftpaccess make root & this group the only ones that can have access.
Might even try setting the option private option to yes in the ftpaccess file, thus requiring a password. See man ftpaccess.
Like I said...just a thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2003 11:43 AM
03-21-2003 11:43 AM
Re: Deny ftp, only for root
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xcd135bd3782dd711abdc0090277a778c,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2003 12:52 AM
03-22-2003 12:52 AM
Re: Deny ftp, only for root
# cd
# mkdir private
# cp /bin/sh private
# chmod 700 private
# cd /etc
# echo ~/private/sh >shells
Now change the shell for root to ~/private/sh using chsh
Explanation: if /etc/shells is found, ftp will only work for users whose logon shell is mentioned in there
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2003 05:49 PM
03-23-2003 05:49 PM
Re: Deny ftp, only for root
To deny access, just add root to the file.
That's probably the best way to go.
Almost sounds like you want to do two opposing tasks, as I obvoiusly misread your post.
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
03-23-2003 10:46 PM
03-23-2003 10:46 PM
Re: Deny ftp, only for root
Why not create a file /etc/ftpd/ftpusers with all the usernames in it, which will not be allowed to use ftp ?
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2003 06:50 AM
03-27-2003 06:50 AM
Re: Deny ftp, only for root
To my horror, it did not block root ftp login, even though I followed my own procedure. The procedjure did work on 11.00.
The issue was that Washington University changed certain functionality in the ftp server and you have to go to HP, get and install a binary to make my denial scheme work.
Right not the binaries are not on a public ftp server, but if you have a support contract, they'll hook you up.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com