- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: FTP user with permissions
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
07-10-2012 08:35 AM
07-10-2012 08:35 AM
Hi Experts
I want to create one ftp user xyz .with the below said criterias are matched . Im creating this user by editing passwd file with vipw and ,giving input .and also adding the user with ftp group .Thants enough or not.
Grant permissions for RENAME
Configure Directories/Files so that we can see it on FTP tools on FFFTP.what is FFFTP.
Configure so that the strings input in remarks blanks can be the password.
Set all FTP user to be able to send and receive files with names in Japanese language.
Make the home directory into a root directory, and ensure that it can not be transfer to others directories.
Ajin.S
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Solved! Go to Solution.
- Tags:
- ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2012 07:22 AM
07-11-2012 07:22 AM
Re: FTP user with permissions
Hi Experts
I want to set permission for The home directory , that it can not be transfer to others directories.
I copied /usr and /bin folder from /home/ftp
and change the ownershp
Which permission i have to set , to the copied folders
Ajin.S
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2012 11:04 PM
07-11-2012 11:04 PM
SolutionNo, just editing the passwd file will not be enough to fulfill all the requirements.
> Grant permissions for RENAME
On HP-UX, the RENAME permission is always granted on writeable directories by default. You would have to configure the FTP server software to explicitly reject RENAME operations if that was required. So this one is easy: you don't have to do anything special here.
> Configure Directories/Files so that we can see it on FTP tools on FFFTP.what is FFFTP.
Google says it's just a Japanese FTP client for Windows:
http://www2.biglobe.ne.jp/sota/ffftp-e.html
> Set all FTP user to be able to send and receive files with names in Japanese language.
That means you should make sure the ftpd daemon starts with locale settings appropriate for Japanese. In order to do that properly, I think you'll need to know which character encoding your clients will be using (UTF-8 or something else?)
If your ftpd daemon is started by inetd, you might need to make inetd start a script instead of the real ftpd. That script would just set the appropriate locale variables (mainly LANG and/or LC_CTYPE depending on your requirements; use LC_CTYPE if you want ftpd to accept Japanese filenames but output logs and error messages in English) and run the real ftpd. Something like this:
#!/bin/sh export LC_CTYPE=C.utf8 exec /usr/sbin/ftpd "$@"
If your ftpd daemon has its own start-up script, you can add the locale variable settings in that start-up script.
> Make the home directory into a root directory, and ensure that it can not be transfer to others directories.
This is probably the most complicated requirement in this list. You'll need to implement a "chrooted" FTP user.
Please see:
http://www.hpug.org.uk/index.php?option=com_content&task=view&id=492&Itemid=93
- Tags:
- chroot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2012 10:42 AM
07-17-2012 10:42 AM
Re: FTP user with permissions
With FTP it would be best to set up a jailed root.
if you are Linux, generally the installed or installable FTP is VSFTPD.
in VSFTP, edit the /etc/vsftpd/vsftpd.conf
vi or nano /etc/vsftpd/vsftpd.conf
and change, add, or uncomment the following line:
chroot_local_user=YES
Save the file and restart VSFTP
/etc/init.d/vsftpd restart
I
n ProFTPD, edit the following file:
/etc/proftpd/proftpd.conf
and uncomment the following line (remove the # in front of it):
DefaultRoot ~
If you need to jail the users further, for example, in their document root directories (such as public_html), use the following line:
DefaultRoot ~/public_html
Save the file and restart ProFTPD:
/etc/init.d/proftpd restart
Reference Page:
http://www.serverschool.com/server-configuration/jail-ftp-users-to-their-home-directories/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2012 07:35 AM
07-18-2012 07:35 AM
Re: FTP user with permissions
Hi
Its for HP-ux
Ajin.S
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.