- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: FTP and Telnet
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
тАО11-27-2001 05:25 PM
тАО11-27-2001 05:25 PM
i just installed RHlinux7.1 on my intel machine. how do i configure ftp and telnet?
i changed /etc/xinetd.d/wu-ftp to disable=no but i couldnt login as root, only anonymous is allowed, any more changes i have to do?
also telnet, i changed disable=no but i get a login incorrect even with the right password
help..?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2001 07:21 PM
тАО11-27-2001 07:21 PM
SolutionYou need to add a line to your /etc/ftpaccess file like:
class all real,guest,anonymous *
Chances are you already have this line as a comment on your /etc/ftpaccess file. If that's the case, just remove the comment char (#).
Note that you should be able to login as a regular user, not root. If you also want to open ftp for root (not recommended!!!):
- Edit /etc/ftpusers and remove 'root' from there
- Comment the lines (add a # on the first column) where you see 'deny-gid' and 'deny-uid' in your /etc/ftpaccess file.
Hope it helps,
Paga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2001 09:08 PM
тАО11-27-2001 09:08 PM
Re: FTP and Telnet
i can now ftp and telnet to my linux machine using anonymous and 'real' user accounts. But when i try ftp'ing and telneting, i get a login incorrect error even though i supplied the correct password... why is this so?
thanks again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2001 06:44 AM
тАО11-28-2001 06:44 AM
Re: FTP and Telnet
You *should* be able to ftp as root if you did the configurations I mentioned above. If ftp is refusing your root connections, it should be sending something to /var/log/messages or /var/log/secure. Check it there and let me know if you find anything funny coming from ftp.
Also, if you want to telnet as root, add pts/1, pts/2, pts/3 (and a whole bunch of them until pts/N) to /etc/securetty. That should do the trick for you.
Regards,
Paga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2001 04:50 PM
тАО11-28-2001 04:50 PM
Re: FTP and Telnet
I still cannot ftp and telnet if im using root... here are the logs
telnet log:
Nov 29 08:47:15 hppsso42 login(pam_unix)[3274]: authentication failure; logname= uid=0 euid=0 tty=pts/1 ruser= rhost=ph17202 user=root
Nov 29 08:47:17 hppsso42 login[3274]: FAILED LOGIN 2 FROM ph17202 FOR root, Authentication failure
ftp logs:
Nov 29 08:49:25 hppsso42 ftpd[3277]: FTP LOGIN REFUSED (username in denied-uid) FROM ph17202 [127.0.0.1], root
Nov 29 08:49:31 hppsso42 ftpd[3277]: FTP session closed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2001 07:40 PM
тАО11-28-2001 07:40 PM
Re: FTP and Telnet
Two things:
1) For telnet:
Did you put pts/1, pts/2, pts/3 etc on your /etc/securetty file?
2) For FTP
Did you comment out the 'deny-uid' and 'deny-gid' lines on /etc/ftpaccess? Also, don't forget to remove the 'root' line from /etc/ftpusers!
Let me know as it goes.
Regards,
Paga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2001 12:39 AM
тАО11-29-2001 12:39 AM
Re: FTP and Telnet
I will attach that file,
Bye
Balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2001 12:40 AM
тАО11-29-2001 12:40 AM
Re: FTP and Telnet
I will attach that file,
Bye
Balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2001 09:04 PM
тАО12-05-2001 09:04 PM
Re: FTP and Telnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2001 07:47 PM
тАО12-11-2001 07:47 PM
Re: FTP and Telnet
for telnet:
modify /etc/securetty and add entries for pts/1, pts2,pts/3,...etc
for ftp:
modify /etc/ftpaccess:
comment out 'dent-uid and deny-gid'
uncomment 'class all, real,guest, anonymous *'
modify /etc/ftpusers
remove 'root'
modify the following entries:
/etc/xinetd.d/wu-ftp 'disable=no'
/etc/xinetd.d/telnetd 'disable=no'
then restart xinetd daemon:
/etc/rc.d/init.d/xinetd restart
d_b