Package: login
Version: 1:4.5-1.1
Severity: minor

Dear Andreas, dear maintainers,

for now I use "ALWAYS_SET_PATH" as mentioned in "NEWS.Debian" of "util-linux"
package in order to keep my backup script which needs root access and access
to a SSH agent running in a regular user session working. I intend to
configure sudo to take over the environment variables for SSH agent to
the root session at some time.

However, as long as that option is set, the "login" command complains about
it after entering the user name. You can see this easily by logging in on
a tty. Or by doing it on a shell, in this even before entering the user name:

somehost:~> LANG=C login
configuration error - unknown item 'ALWAYS_SET_PATH' (notify administrator)
somehost login: ^C

Expected results: No error message or warning as this is a configuration
option support by "su" from "util-linux" which shares the configuration file
"/etc/login.defs" with the "shadow" tools.

Thanks,
Martin

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-rc5-tp520-btrfstrim+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages login depends on:
ii  libaudit1       1:2.8.3-1+b1
ii  libc6           2.27-5
ii  libpam-modules  1.1.8-3.7
ii  libpam-runtime  1.1.8-3.7
ii  libpam0g        1.1.8-3.7

login recommends no packages.

login suggests no packages.

-- Configuration Files:
/etc/login.defs changed:
MAIL_DIR        /var/mail
FAILLOG_ENAB            yes
LOG_UNKFAIL_ENAB        no
LOG_OK_LOGINS           no
SYSLOG_SU_ENAB          yes
SYSLOG_SG_ENAB          yes
FTMP_FILE       /var/log/btmp
SU_NAME         su
HUSHLOGIN_FILE  .hushlogin
ENV_SUPATH      
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV_PATH        PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
ALWAYS_SET_PATH yes
TTYGROUP        tty
TTYPERM         0600
ERASECHAR       0177
KILLCHAR        025
UMASK           022
PASS_MAX_DAYS   99999
PASS_MIN_DAYS   0
PASS_WARN_AGE   7
UID_MIN                  1000
UID_MAX                 60000
GID_MIN                  1000
GID_MAX                 60000
LOGIN_RETRIES           5
LOGIN_TIMEOUT           60
CHFN_RESTRICT           rwh
DEFAULT_HOME    yes
USERGROUPS_ENAB yes
ENCRYPT_METHOD SHA512


-- no debconf information

_______________________________________________
Pkg-shadow-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-shadow-devel

Reply via email to