Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi,I enable the krb5-telnet service,but root user can't login
1.I modify the disable=no
2.mv /etc/securetty /etc/securetty.bak,
3.vi /etc/pam.d/login and mark the first line
'#auth required pam_securetty.so
auth required pam_stack.so service=system-auth'
4./etc/init.d/xinetd restart
OK
5.chkconfig --list
gssftp: off
daytime-udp: off
krb5-telnet: on
time-udp: off
but when I use root user to telnet,report
login: root
Password for root:
Login incorrect
and use other user,can login with telnet.
Do I need to install a ftp daemon? Not sure if it is installed and if it is not, I have no idea how to install it!
Under Extended Internet Service -> FTP, the service program appears as : /usr/kerberos/sbin/ftpd -l
Contents of gssftp
# default: off
# description: The kerberized FTP server accepts FTP connections \
# that can be authenticated with Kerberos 5.
service ftp
{
flags = REUSE
log_on_failure += USERID
socket_type = stream
user = root
server = /usr/kerberos/sbin/ftpd
server_args = -1
wait = no
}
I restarted xinetd service when I made changes.
After removing the -a as mentioned in the posts above, ftp connection produces this error:
connecting to 202.71.98.48 ...
Connected to 202.71.98.48 port 21
ftpd: invalid option -- 1
ftpd: Unknown flag -1 ignored.
220 www.mydomain.com FTP server (Version 5.60) ready.
! Receive error: Blocking call cancelled
! Connection failed
The "-1" is being ignored for some reason.
Please help!
Thanks in advance.
The value of "server_args" should be set to '-l' not '-1'. I think this is the only problem.
FTP problems : 500 'AUTH GSSAPI': command not understood
You must use :
ftp -u <ftp site>
when loggin .. use PASSIVE command
example:
$ ftp -d -t -u ftp.example.gov.ar
Connected to ftp.example.gov.ar.
220 ns1 Microsoft FTP Service (Version 5.0).
---> SYST
530 Please login with USER and PASS.
ftp>
ftp> user
(username) example
---> USER example
331 Password required for example.
Password:
---> PASS XXXX
230 User example logged in.
ftp> passive
Passive mode off.
ftp>
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.