- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP in HPUX
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
05-14-2009 06:23 AM
05-14-2009 06:23 AM
FTP in HPUX
When a user FTP to FTP Server which is running HPUX (inetd based FTP), they should be in a common shared directory, they should not be in their home directory.
Creating users with common home directory might bring some security problems.
Is there any other way that we can achieve this ?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2009 06:42 AM
05-14-2009 06:42 AM
Re: FTP in HPUX
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -Lliou 077
the 077 being the umask value, makes the files a user uploads, accessible to only that user and no one else.
if what you mean by security is that kind of access problem, this is your solution. If you are talking about another type of security issue, you need to spell it out more clearly.
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2009 06:48 AM
05-14-2009 06:48 AM
Re: FTP in HPUX
I have many users, when they FTP to FTP server, they should be in /common.
right now i know, i can solve this issue with creating all users with /common as their home directory.
I just want to know, is there any other ways that we can achieve this.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2009 06:55 AM
05-14-2009 06:55 AM
Re: FTP in HPUX
ln -s /common /home/ftpuser1
but I do not see a benefit of doing this than giving them the home directory as /common
So, I am still not quite sure what you are after
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2009 06:59 AM
05-14-2009 06:59 AM
Re: FTP in HPUX
So, when a user initially FTP to a FTP server, by-default, he should be in /common, and from their he can download/upload files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2009 07:08 AM
05-14-2009 07:08 AM
Re: FTP in HPUX
for this requirment you need to implement chroot for your ftp user id.
See the link below for similar thread
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1242313613768+28353475&threadId=1177450
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2009 07:19 AM
05-14-2009 07:19 AM
Re: FTP in HPUX
your "/common", and have everyone use that
user name for FTP?
I don't know of a good way to do what you
ask. I would probably tell the users how to
do a "cd" command in their FTP client
programs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2009 07:25 AM
05-14-2009 07:25 AM
Re: FTP in HPUX
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2009 07:58 AM
05-14-2009 07:58 AM
Re: FTP in HPUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2009 06:23 PM
05-14-2009 06:23 PM
Re: FTP in HPUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2009 07:39 PM
05-14-2009 07:39 PM
Re: FTP in HPUX
> directory.
> They are just FTP users, they should not
> have access to the shell.
If they don't "have access to the shell",
then why would they have their own home
directories? Why not just make "/common"
everyone's home directory?
> Creating users with common home directory
> might bring some security problems.
Such as? Your whole plan involves letting
them all use this common directory. How much
more trouble can you cause by making it a
common home directory?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2009 08:15 PM
05-14-2009 08:15 PM
Re: FTP in HPUX
>>They are just FTP users, they should not have access to the shell
1st copy your passwd file into passwd.org then open passwd file into vi go to the specefic user then change his shell ex: /bin/sh into /usr/bin/false
after chenging the shell it looks like
test:x3sdf2e34sdf:345:503:,,,:/home/test/./:/usr/bin/false
save the passwd file and check are you still able to login or not ?
for similar threade see the below link
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1242360730728+28353475&threadId=515869
Suraj