Re: creating users

2003-05-07 Thread Colin Watson
On Wed, May 07, 2003 at 02:53:03PM +0200, Tobias Wolter wrote: > Though I was a bit confused -- point 10.2 of the policy manual > regulates that no package except base-passwd should modify > /etc/passwd, /etc/groups, ... > > Does this only cover modifying directly, or is usage of adduser, etc., >

Re: creating users

2003-05-07 Thread Chris Waters
On Wed, May 07, 2003 at 01:43:56AM -0700, Pedro Salgueiro wrote: > Can a deb package create a user? Yes, with some restrictions, see policy section 10.2.2 (UID and GID classes). Basically, there's a section of UID/GIDs reserved for dynamic allocation by packages. This is 100-999 by default, but

Re: creating users

2003-05-07 Thread Teófilo Ruiz Suárez
El 7-may-2003 a las 01:43:56, Pedro Salgueiro escribió: > Hi. > Can a deb package create a user? At least, Postfix can. 8< cut here 8< sikanda-16:12:53:~/debian/packages/postfix/postfix-2.0.0.1/debian$ grep adduser * changelog: * Actually list the dependency on adduser. (Bug

Re: creating users

2003-05-07 Thread Tobias Wolter
On 05-07T 1:43, Pedro Salgueiro wrote: > Can a deb package create a user? Packages like gdm do: -- *SNIP* /var/lib/dpkg/info/gdm.postinst *SNIP* -- # creating gdm user if he isn't already there if ! getent passwd gdm >/dev/null; then echo Adding system user: gdm. adduser --system

Re: adduser after confmodule'

2003-05-07 Thread Thomas Hood
Try doing db_stop after your debconf section. On Wed, 2003-05-07 at 11:45, Pedro Salgueiro wrote: > How can I call adduser or passwd in the postinst of > debian package after I have used confmodule of > debconf. > If I call it normaly when it ask's for the password it > just stop's working. >

adduser after confmodule'

2003-05-07 Thread Pedro Salgueiro
Hi. How can I call adduser or passwd in the postinst of debian package after I have used confmodule of debconf. If I call it normaly when it ask's for the password it just stop's working. This happens because I use confmodule of debconf before I call adduser. If I call it adduser before confmodule

creating users

2003-05-07 Thread Pedro Salgueiro
Hi. Can a deb package create a user? Thanks. Pedro Salgueiro __ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com