- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP Problem to access to home directory
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
08-28-2009 04:41 PM
08-28-2009 04:41 PM
I created an new user using useradd
useradd -u 120 -g 1500 -s /TRY/WORK jorge
after that i change the shell for the user to /usr/bin/false
also i enable the ftpaccess using flag -a in inetd.conf for ftpd
i can access from remote server ... but i can´t user the Home directory ... this is the message from remote server
230 User jorge logged in. Access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for /usr/bin/ls.
226 Transfer complete.
ftp> bye
221-You have transferred 0 bytes in 0 files.
221-Total traffic for this session was 690 bytes in 2 transfers.
221-Thank you for using the FTP service on cg4.
221 Goodbye.
Also i tried to put some files from another server ... but i have not privileges
Please what i can do to use this folder like an Home directory
Any help will be appreciate
regards
Jorge
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2009 05:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2009 12:36 PM
08-29-2009 12:36 PM
Re: FTP Problem to access to home directory
have you added /usr/bin/false to the etc/shells
a few good links on configuring ftp here
http://newfdawg.com/SHP-FTP-anon.htm
http://www.docs.hp.com/en/B2355-91058/ch02s05.html
are you using the standard /etc/ftpd/ftpaccess file?
if so check the permission and configuration in this file
http://www.docs.hp.com/en/B2355-90685/ch02s08.html
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2009 01:08 PM
08-30-2009 01:08 PM
Re: FTP Problem to access to home directory
> after that i change the shell [...]
> also i enable the ftpaccess [...]
General advice: Change one thing at a time.
In particular, I'd change the shell back to
something normal, and see if the user can do
normal work and FTP.
I'd also check the owner and permissions on
the directory.
> After connecting with ftp, run pwd [...]
Yup. When in doubt, ask the computer who
might know what's true.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2009 10:57 AM
08-31-2009 10:57 AM
Re: FTP Problem to access to home directory
more info ...
the owner for the folder is user "CG" .. and my new user jorge has not rights to access to that folder ... how i can give rights to jorge without remove the owner to CG ????
Thanks in advanced
Jorge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2009 11:07 AM
08-31-2009 11:07 AM
Re: FTP Problem to access to home directory
Also, file /var/adm/syslog/syslog.log will give you some information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2009 11:12 AM
08-31-2009 11:12 AM
Re: FTP Problem to access to home directory
in that case, but users CG and jorge in the same group. it can be a group with only those two users if need be, for example group CGJ
then change ownership of the directory to user CG and group CGJ.
follow that by changing the permissions to allow the "group" to read/write the directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2009 12:17 PM
08-31-2009 12:17 PM
Re: FTP Problem to access to home directory
Now i have access and i can transfer files, but when i use "ls" command, i can´t see any files in my Home directory ... what i need to do to see all files ???
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2009 12:25 PM
08-31-2009 12:25 PM
Re: FTP Problem to access to home directory
can't tell, tho, as you didn't note what error you got when you tried it. if was something like "permission denied" then that should fix it. if not, post the error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2009 12:31 PM
08-31-2009 12:31 PM
Re: FTP Problem to access to home directory
drwxrwxr-x 3 cg cg 14336 Aug 21 18:39 proc
but i can´t see the content ... just i can get and put using ftp