- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftp problem
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
12-21-2000 02:31 PM
12-21-2000 02:31 PM
ftp problem
Would you like to help me to solve this problem,today a user tried to use ftp to see some files, I noticed that the user can see everything under /root, moreover he can read /etc/passwd.
I've two questions.
1- what can I do to let user's use ftp,but let them see thier own home directory?.
2-On one of our DB's there is a lot of PDF files which are used through user's, so they use explore to ftp the server then they can read those pdf files, but here they must type their own passwd.
a-how can I prevent that, I mean typing their own passwd?.
b-how can I let them see only those PDF files + their own home directory, although the owner is oracle & the group is DB group?.
Thanks a lot for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2000 02:42 PM
12-21-2000 02:42 PM
Re: ftp problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2000 03:09 PM
12-21-2000 03:09 PM
Re: ftp problem
Hope this helps some.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2000 05:08 PM
12-21-2000 05:08 PM
Re: ftp problem
Try setting the shell for user as restricted shell. This will prevent users to cd to other directories.
For ftping without providing password do a man on netrc. But it has security issues.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2000 03:27 AM
12-22-2000 03:27 AM
Re: ftp problem
Would you like to tell me how can I restrict the user's shell?
Thanks alot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2000 05:53 AM
12-22-2000 05:53 AM
Re: ftp problem
For info on restricted shell try here :-
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90680/B2355-90680_top.html&con=/hpux/onlinedocs/B2355-90680/00/03/315-con.html&toc=/hpux/onlinedocs/B2355-90680/00/03/315-toc.html&searchterms=rsh&queryid=20001222-055326
HTH
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2000 08:31 AM
12-22-2000 08:31 AM
Re: ftp problem
In the password file, the last column is the shell for the user . Change it from /usr/bin/sh to /usr/bin/rsh.
This would mean that users will have restricted shell even if they normally log in. In that case you may want to create another account for the user that might have restricted shell .
e.g. user vikas could have 2 accounts:
vikas
vikasftp
where vikas is regular account and vikasftp with restricted shell. Also you want to make sure vikas is there is ftpusers file so that they do not ftp using that account.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2000 02:58 PM
12-24-2000 02:58 PM
Re: ftp problem
First of all thanks alot for your help.
Mij second question is that;
Up till now you did not mention to the second part of my question which is how can I give them(user's) right to read all PDF files, which they are allocated on another LV & which is owned by Oracle user and group DB?.
Once again thanks alot& have a haapy new year.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2000 04:26 AM
12-26-2000 04:26 AM
Re: ftp problem
I believe you will be able to control access to files and directories using the Washongton University version of ftp (wu-ftp) This is provided with HP-UX 11.x.
If you are using HP-UX 10.x then you can obtain wu-ftp from http://hpux.cs.utah.edu/hppd/hpux/Networking/FTP/wu_ftpd-2.6.1/
Once you have this then check out the ftpaccess man page (use: man ftpaccess)