OK if
your telnet is in fact working and it's just root that's not allowed.. the only
thing I could do to get working was to remove securetty from the PAM settings as
this was the only way I could get it to work.. No one on slug was able to give
me answers long long ago when I needed it but this was what i
did...
vi
/etc/pam.d/login
#%PAM-1.0
auth optional /lib/security/pam_securetty.so auth required /lib/security/pam_pwdb.so shadow nullok auth required /lib/security/pam_nologin.so account required /lib/security/pam_pwdb.so password required /lib/security/pam_cracklib.so password required /lib/security/pam_pwdb.so nullok use_authtok md5 shadow session required /lib/security/pam_pwdb.so session optional /lib/security/pam_console.so Changed the line with securetty from required to
optional
this
makes it available from anywhere so the only thing you can do is stop it when it
gets to the shell.. it's very grude but works for me..
Didn't
worry me anyway and I have software which monitors all logs and alerts on
problems.. ie root logins from elsewhere..
-----Original Message-----
From: henry [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 29 January 2002 5:02 PM To: [EMAIL PROTECTED] Subject: [SLUG] help : telnet RedHat7.1 Dears:
I installed RedHat & choosed
No_Firewall, then modify /etc/securetty by adding
0
1
2
3
(0 1 2 3 means that 4 tty(s) can telnet this host as
root)
I just cant telnet from outside
as root though I can ping from outside
Could someone help me ?
TIA
Henry
|
- [SLUG] help : telnet RedHat7.1 henry
- Re: [SLUG] help : telnet RedHat7.1 Simon Wong
- Re: [SLUG] help : telnet RedHat7.1 Jamie Wilkinson
- RE: [SLUG] help : telnet RedHat7.1 Chris Barnes
- George Vieira