Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] login.defs problem

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Mads Laursen <smgl AT dossen.dk>
  • To: Public SourceMage Discussion List <sm-discuss AT lists.ibiblio.org>
  • Subject: [SM-Discuss] login.defs problem
  • Date: Thu, 28 Jul 2005 23:24:45 +0200

Could anyone shed some light on this, possibly point the way to a bug (I
couldn't find one) or something I did wrong? After updating a number of
spells, including shadow, I began getting errors on login, but only as root.
The login program complains about the following options from /etc/login.defs

FAILLOG_ENAB yes
LASTLOG_ENAB yes
MAIL_CHECK_ENAB yes
OBSCURE_CHECKS_ENAB yes
PORTTIME_CHECKS_ENAB yes
QUOTAS_ENAB yes
MOTD_FILE /etc/motd
FTMP_FILE /var/log/btmp
NOLOGINS_FILE /etc/nologin
ENV_HZ HZ=100
ENV_SUPATH PATH=/sbin:/bin:/usr/sbin:/usr/bin
ENV_PATH PATH=/bin:/usr/bin
PASS_MIN_LEN 5
SU_WHEEL_ONLY no
CRACKLIB_DICTPATH /var/cache/cracklib/cracklib_dict
PASS_CHANGE_TRIES 5
PASS_ALWAYS_WARN yes
CHFN_AUTH yes
ENVIRON_FILE /etc/environment

Commenting out the options (which were reported as unrecognised) made the
errors go away, but root still cannot log in. Did something happen that
needs changes to the files, or changed the defaults?

Please say, if any of the PAM config files could be useful in figuring out
the problem, or any other files.

/dossen
--
Common sense is the collection of prejudices acquired by age eighteen.
-- Albert Einstein

Attachment: pgpIwEqG6Aw0Q.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page