[Pkg-shadow-devel] Bug#341230: passwd: Partial changes with chfn other values

Christian Gennerat Christian.Gennerat at m4x.org
Tue Nov 29 12:28:51 UTC 2005


Package: passwd
Version: 1:4.0.13-7
Severity: important

When a chfn is done by root, to change only one value,
other values are taken from the root-gecos

libs:~#  chfn -f newus -r ndesk -w ntel -h nhom -o noth newuser
libs:~# grep newus /etc/passwd
newuser:x:1009:1009:newus,ndesk,ntel,nhom,noth:/home/newuser:/bin/bash
 
libs:~# chfn -h HomeNew newuser
libs:~# grep newus /etc/passwd
newuser:x:1009:1009:root,rroot,wroot,HomeNew,oroot:/home/newuser:/bin/bash
libs:~# grep wroot /etc/passwd
root:x:0:0:root,rroot,wroot,hroot,oroot:/root:/bin/bash
newuser:x:1009:1009:root,rroot,wroot,HomeNew,oroot:/home/newuser:/bin/bash



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.23
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15) (ignored: LC_ALL set to fr_FR at euro)

Versions of packages passwd depends on:
ii  debianutils                   2.15.1     Miscellaneous utilities specific t
ii  libc6                         2.3.5-8    GNU C Library: Shared libraries an
ii  libpam-modules                0.76-22    Pluggable Authentication Modules f
ii  libpam0g                      0.79-3     Pluggable Authentication Modules l
ii  login                         1:4.0.13-7 system login tools

passwd recommends no packages.

-- debconf information:
  passwd/password-mismatch:
* passwd/username: xg
  passwd/password-empty:
* passwd/md5: false
  passwd/user-uid:
* passwd/shadow: true
  passwd/username-bad:
* passwd/user-fullname: x-g
* passwd/make-user: true
  passwd/title:
  passwd/retry-ppp: true
  passwd/keymap-failed:
  passwd/stop-ppp: true
  passwd/selection-path: simple
  passwd/dselect:
  passwd/login:
  passwd/install-problem: true




More information about the Pkg-shadow-devel mailing list