- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP 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
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
04-28-2008 03:00 PM
04-28-2008 03:00 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 03:37 PM
04-28-2008 03:37 PM
Re: FTP Permissions
Not a very complete description.
Does this user have a legal shell?
"man ftpd":
[...]
+ The user must have a standard shell returned by getusershell().
[...]
"man getusershell":
[...] as defined in the file /etc/shells (see
shells(4)).
[...]
"man shells":
[...]
DESCRIPTION
/etc/shells is an ASCII file containing a list of legal shells on the
system. Each shell is listed in the file by its absolute path name.
[...]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 10:28 PM
04-28-2008 10:28 PM
Re: FTP Permissions
what is the output of ftpusers files
give me the output of
grep user /etc/passwd
more /etc/shells
Regards
Safar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 10:42 PM
04-28-2008 10:42 PM
Re: FTP Permissions
for restricting ftp access you can add his user name in ftpusers file in /etc/ftpd directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 10:45 PM
04-28-2008 10:45 PM
Re: FTP Permissions
Why not implement ssh/scp and use keys to restrict users?
Just my 0.5 cents :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2008 01:21 PM
07-17-2008 01:21 PM
Re: FTP Permissions
I am back on this taks of trying to FTP to my HPUX 11i machine. As I mentioned in my original post several months ago, I can FTP to this machine (from a PC using command line, Filezilla and CuteFTP) as user 'root' but not as user 'mark' (or any other user besides root). I want to use FTP instead of SSH because 1) I am not worried about security between my PC and HPUX box and 2) I am using a utility in CuteFTP to automatically transfer files from my PC to HPUX box. The main problem is that if I am user root, the permissions of the files are set for root and therefore unaccessible by routine used by user 'mark'. I also don't know how to do a CHMOD on my PC to automatically change permissions on that end. So, I'd really just like to be able to FTP as user mark.
To answer some of your questions from a while back:
1) SAM puts the ftpusers file in /etc not /etc/ftpd, but I tried putting this file in both placese with no success. It is my understanding that this file contains 'denied' users and so 'mark' is not in this file.
2) I do not have the shells file in /etc on my HPUX machine
3) The line for mark in the passwd file is: "mark:Zvt8jcUmTS:205:20:,,,:/users/mark:/bin/csh
What else can I look at or try. Please keep in mind that I am a novice UNIX user, so be gentle.
Thanks,
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2008 01:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2008 01:38 PM
07-17-2008 01:38 PM
Re: FTP Permissions
revealed what, exactly, doesn't work. "I
can't do something", tells neither what you
tried to do, nor what happened when you tried
to do it.
Using a command-line FTP client program on
the Windows system (assuming that "my PC"
_is_ a Windows system) might expose some
details which a fancy-GUI FTP client program
might hide. (Of course, that won't help
unless you report those details.)
Your HP-UX version is still a mystery.
uname -a
> 2) I do not have the shells file in /etc
> on my HPUX machine
Have you tried creating one?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2008 02:02 PM
07-17-2008 02:02 PM
Re: FTP Permissions
You win! Easy answer. Creating the shells file worked.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2008 02:10 PM
07-17-2008 02:10 PM
Re: FTP Permissions
If /etc/shells does not exist or is not readable, getusershell() returns the following standard system shells:
/sbin/sh /usr/bin/sh /usr/bin/rsh /usr/bin/ksh /usr/bin/rksh /usr/bin/csh /usr/bin/keysh
you have /bin/csh in your passwd. that's why you need to create /etc/shells file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2008 02:31 PM
07-17-2008 02:31 PM
Re: FTP Permissions
That didn't seem to work in April. Reading
is _so_ hard sometimes (for some people).