- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Login problem with vsftpd
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
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
тАО12-13-2006 06:48 AM
тАО12-13-2006 06:48 AM
on a new LAN using a router as a LAN hub and as a gateway.
I have an old LAN network .local configured the same. It's been working
for a couple of years with no vsftp problems.
The new local2 network is set in /etc/hosts of the new server vebnew.
192.168.1.20 router.local2 router
192.168.1.21 vebnew.local2 vebnew
192.168.1.22 veb2.local veb2
named is not running on vebnew.
When I try to connect from either box to the other via vsftpd I get
this kind of error:
Connected to vebnew.local2.
220 (vsFTPd 2.0.5)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (vebnew:veb): veb
331 Please specify the password.
Password:
500 OOPS: cannot change directory:/home/veb
Login failed.
--------
The most recent entries in /var/log/messages:
Dec 13 12:57:10 veb2 restorecond: Will not restore a file with more than one hard link (/etc/resolv.conf) No such file or directory
Dec 13 13:08:11 veb2 kernel: audit(1166036891.012:8): avc: denied { search } for pid=7460 comm="vsftpd" name="home" dev=dm-0 ino=5570561 scontext=user_u:system_r:ftpd_t:s0 tcontext=system_u:object_r:home_root_t:s0 tclass=dir
---------
The resolv.conf file seems to be Ok and works for ssh.
# cat /etc/resolv.conf
; generated by /sbin/dhclient-script
nameserver 192.168.1.20
------------------------------------------
I have another LAN with a server named veb.local that both
vebnew.local and veb2.local have no problem connecting to via vsftpd.
named is running on this server but vsftpd works Ok even when named is not running.
I've checked /etc/vsftpd/vsftpd.conf and it looks the same on both servers.
Any ideas ?? Thanks !
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2006 07:12 AM
тАО12-13-2006 07:12 AM
Re: Login problem with vsftpd
setsebool ftpd_disable_trans 1
service vsftpd restart
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2006 07:26 AM
тАО12-13-2006 07:26 AM
Re: Login problem with vsftpd
bash: setsebool: command not found
I'm not sure if selinux is running; ps -A | grep linux returns nothing, but I don't remember the process name of selinux. Fedora core 6 is running right out of the box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2006 08:05 AM
тАО12-13-2006 08:05 AM
Re: Login problem with vsftpd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2006 08:18 AM
тАО12-13-2006 08:18 AM
Re: Login problem with vsftpd
bash: getenforce: command not found
[root@veb2 veb]#
I'm not familiar with getenforce ? How to run it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2006 08:35 AM
тАО12-13-2006 08:35 AM
Re: Login problem with vsftpd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2006 09:05 AM
тАО12-13-2006 09:05 AM
Re: Login problem with vsftpd
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: enforcing
Mode from config file: enforcing
Policy version: 21
Policy from config file: targeted
Ok with that link I found sestatus command and it shows selinux enabled. If I can figure out how to temporarily disable it I can determine if it is the cause of the login failure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2006 09:15 AM
тАО12-13-2006 09:15 AM
Solution/usr/sbin/setsebool -P ftpd_disable_trans 1
service vsftpd restart
Another option is "system-config-securitylevel" - GUI tool available to customize SELinux policy settings.
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2006 09:25 AM
тАО12-13-2006 09:25 AM
Re: Login problem with vsftpd
We would have had it sooner but /usr/sbin was not in my path and I didn't realize it.
Thanks again everybody !!