Here ay go

/etc/pam.d/ftp

#%PAM-1.0
auth       required /lib/security/pam_listfile.so item=user sense=deny
file=/etc/ftpusers onerr=succeed
auth       required /lib/security/pam_pwdb.so shadow nullok
auth       required /lib/security/pam_shells.so
account    required /lib/security/pam_pwdb.so
session    required /lib/security/pam_pwdb.so

/etc/pam.d/rlogin

#%PAM-1.0
auth       required /lib/security/pam_securetty.so
auth       sufficient /lib/security/pam_rhosts_auth.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 shadow nullok use_authtok
session    required /lib/security/pam_pwdb.so

/etc/pam.d/login


#%PAM-1.0
auth       required /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 shadow
session    required /lib/security/pam_pwdb.so
session    optional /lib/security/pam_console.so

/etc/pam.d/exec

#%PAM-1.0
auth       required /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

/etc/inetd.conf

# These are standard services.
#
ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd -l -a
telnet stream  tcp  nowait  root    /usr/sbin/tcpd in.telnetd
#gopher stream  tcp  nowait  root    /usr/sbin/tcpd gn

# do not uncomment smtp unless you *really* know what you are doing.
# smtp is handled by the sendmail daemon now, not smtpd.  It does NOT
# run from here, it is started at boot time from /etc/rc.d/rc#.d.
#smtp stream  tcp  nowait  root    /usr/bin/smtpd smtpd
#nntp stream tcp nowait root /usr/sbin/tcpd in.nntpd
#
# Shell, login, exec and talk are BSD protocols.
#
shell stream tcp nowait root /usr/sbin/tcpd in.rshd
login stream tcp nowait root /usr/sbin/tcpd in.rlogind
#exec stream tcp nowait root /usr/sbin/tcpd in.rexecd
talk dgram udp wait root /usr/sbin/tcpd in.talkd
ntalk dgram udp wait root /usr/sbin/tcpd in.ntalkd
#dtalk stream tcp waut nobody /usr/sbin/tcpd in.dtalkd
#
# Pop and imap mail services et al
#
#pop-2   stream  tcp     nowait  root    /usr/sbin/tcpd ipop2d
pop-3   stream  tcp     nowait  root    /usr/sbin/tcpd ipop3d
#imap    stream  tcp     nowait  root    /usr/sbin/tcpd imapd
#
# The Internet UUCP service.
#
#uucp stream tcp nowait uucp /usr/sbin/tcpd /usr/lib/uucp/uucico -l
#
# Tftp service is provided primarily for booting.  Most sites
# run this only on machines acting as "boot servers." Do not uncomment
# this unless you *need* it.
#
#tftp dgram udp wait root /usr/sbin/tcpd in.tftpd
#bootps dgram udp wait root /usr/sbin/tcpd bootpd
#
# Finger, systat and netstat give out user information which may be
# valuable to potential "system crackers."  Many sites choose to disable
# some or all of these services to improve security.
#
# cfinger is for GNU finger, which is currently not in use in RHS Linux
#
#finger stream tcp nowait root /usr/sbin/tcpd in.fingerd
#cfinger stream tcp nowait root /usr/sbin/tcpd in.cfingerd
#systat stream tcp nowait guest /usr/sbin/tcpd /bin/ps -auwwx
#netstat stream tcp nowait guest /usr/sbin/tcpd /bin/netstat -f inet
#
# Time service is used for clock syncronization.
#
time stream tcp nowait nobody /usr/sbin/tcpd in.timed
time dgram udp wait nobody /usr/sbin/tcpd in.timed
#
# Authentication
#
auth   stream  tcp     nowait    nobody    /usr/sbin/in.identd in.identd -l -e
-o
#
# End of inetd.conf


Ward William E PHDN wrote:

> Show us your intd.conf file... that's the only way we're going to be able
> to see what's wrong.  Also, what do /etc/pam.d/login and /etc/pam.d/rlogin
> look like?  What about /etc/pam.d/rexec?   How do they differ from
> /etc/pam.d/ftp?  If the simple stuff doesn't work, <Dr. Evil voice>
> "Throw us a friggin bone.  We need the info." </Dr. Evil voice> :)
>
> Bill Ward
>
> -----Original Message-----
> From: Ted Bogeman [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 14, 2000 7:56 AM
> To: [EMAIL PROTECTED]
> Cc: recipient.list.not.shown; @nswcphdn.navy.mil
> Subject: Re: Can't Login
>
> Well I got in with a bash prompt, edited the the file. Rebooted, but I still
> get Login incorrect.  I have tried root, and several regular user names and
> get the same result.  I also get the same when I try telnet.  Currently the
> only way to get in is ftp.  What am I missing.  What is screwed up?
>
> Thanks
> Ted
>
> Gustav Schaffter wrote:
>
> > Ted,
> >
> > You can't login from console. Did you try to run in single mode? (At the
> > lilo prompt, type 'linux single'.)
> >
> > Don't know if that's possible, but it may be worthwhile a shot.
> >
> > Regards
> > Gustav
> >
> > Ted Bogeman wrote:
> > >
> > > My inetd.conf file got hosed.  Right now all I can do is ftp in.  Cant'
> > > login from console or telnet or ssh2.  I have tried a re-install without
> > > formatting.  Don't want to loose some things. Does anyone have any ideas
> > > on how to replace the intd.conf with a new one when you can't ftp as
> > > root?  Thanks for any help.
> > >
> > > Ted
> >
> > --
> > pgp = Pretty Good Privacy. To get my public pgp key, send an e-mail to:
> > [EMAIL PROTECTED]
> >
> > Visit my web site at http://www.schaffter.com
> >
> > --
> > To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> > as the Subject.
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to