[Bug 735341] Re: adduser creates expired system user

2011-03-15 Thread Petri Lehtinen
For some reason, my root user account was expired. After running "sudo chage -E -1 root", everything works again. ** Changed in: shadow (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bug

[Bug 735341] Re: adduser creates expired system user

2011-03-15 Thread Petri Lehtinen
** Package changed: adduser (Ubuntu) => shadow (Ubuntu) -- 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@list

[Bug 735341] Re: adduser creates expired system user

2011-03-15 Thread Petri Lehtinen
I had a look at postgresql-common's postinst, and tried to invoke the same command it uses to add the user (just changed the user name): $ sudo adduser --system --quiet --home /var/lib/postgresql --no-create-home --shell /bin/bash --group --gecos "PostgreSQL administrator" testuser Your account h

[Bug 735341] Re: adduser creates expired system user

2011-03-15 Thread Martin Pitt
Hm, this all looks fine. I never saw this before, can't reproduce, and have no other explanation what's wrong with your system then, I'm afraid. Setting back to New, and assigning to adduser. ** Package changed: shadow (Ubuntu) => adduser (Ubuntu) ** Changed in: adduser (Ubuntu) Status: In

[Bug 735341] Re: adduser creates expired system user

2011-03-15 Thread Petri Lehtinen
Right after the installation has failed: $ sudo passwd -S postgres postgres L 03/15/2011 0 9 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 12