- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- FC 5 vsftpd login to users local 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
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
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
тАО06-08-2006 03:46 AM
тАО06-08-2006 03:46 AM
FC 5 vsftpd login to users local directory
500:OOPS can't change dir to /home/localuser
login failed
where localusr is a valid user name on the system.
Anybody have a clue ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2006 04:17 AM
тАО06-08-2006 04:17 AM
Re: FC 5 vsftpd login to users local directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2006 04:56 AM
тАО06-08-2006 04:56 AM
Re: FC 5 vsftpd login to users local directory
Places to check:
home directory from /etc/passwd
permissions on home directory.
/var/log/messages
service vsfptd status.
As Barry notes, it would be helpful to see the conf file.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2006 05:30 AM
тАО06-08-2006 05:30 AM
Re: FC 5 vsftpd login to users local directory
/var/log/messages has this entry each time the ftp login is attempted. I can't get the actual file without physically going to the server. I'll do that and post it later.
Jun 8 12:21:31 veb kernel: audit(1149787291.125:368): avc: denied { search } for pid=5219 comm="vsftpd" name="/" dev=hdb1 ino=2 scontext=user_u:system_r:ftpd_t:s0 tcontext=system_u:object_r:home_root_t:s0 tclass=dir
[root@veb log]#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2006 05:36 AM
тАО06-08-2006 05:36 AM
Re: FC 5 vsftpd login to users local directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2006 07:02 AM
тАО06-08-2006 07:02 AM
Re: FC 5 vsftpd login to users local directory
The same error happens when using the old vsftpd.conf file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2006 08:08 AM
тАО06-08-2006 08:08 AM
Re: FC 5 vsftpd login to users local directory
http://www.hpux.ws/vsftpd.conf
I would first suggest commenting out anonymous in yours just for grins.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2006 08:38 AM
тАО06-08-2006 08:38 AM
Re: FC 5 vsftpd login to users local directory
Now; how to move /home to test that ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2006 09:09 AM
тАО06-08-2006 09:09 AM
Re: FC 5 vsftpd login to users local directory
331 Please specify the password.
Password:
500 OOPS: cannot change directory:/home/veb
Login failed.
421 Service not available, remote server has closed connection
ftp>
Tail of /var/log/messages shows:
Jun 8 16:05:05 veb kernel: audit(1149800705.483:382): avc: denied { search } for pid=7350 comm="vsftpd" name="/" dev=hdb1 ino=2 scontext=user_u:system_r:ftpd_t:s0 tcontext=system_u:object_r:home_root_t:s0 tclass=dir
Makes me think the problem may be related to /home not being on the same drive with /
Thanks for your efforts !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2006 09:35 AM
тАО06-08-2006 09:35 AM
Re: FC 5 vsftpd login to users local directory
[veb@veb ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 72G 3.4G 65G 5% /
/dev/hda1 101M 14M 82M 15% /boot
tmpfs 252M 0 252M 0% /dev/shm
/dev/hdb1 18G 264M 17G 2% /home
/dev/hdb2 18G 799M 17G 5% /var
[veb@veb ~]$
I think I need to move the /home directory onto hda2 with the /root directory ??