Right after the installation has failed:

$ sudo passwd -S postgres
postgres L 03/15/2011 0 99999 7 -1

$ grep postgres /etc/passwd
postgres:x:113:130::/var/lib/postgresql:/bin/bash

$ sudo adduser --debug --system systest
Selecting UID from range 100 to 999 ...
Adding system user `systest' (UID 129) ...
Adding new user `systest' (UID 129) with group `nogroup' ...
/usr/sbin/useradd -d /home/systest -g nogroup -s /bin/false -u 129 systest
/usr/sbin/usermod -p * systest
/usr/bin/chage -M 99999 systest
Creating home directory `/home/systest' ...

$ sudo deluser --remove-home systest
Looking for files to backup/remove ...
Removing files ...
Removing user `systest' ...
Warning: group `nogroup' has no more members.
Done.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/735341

Title:
  adduser creates expired system user

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to