as an example, if I want to create a SMF entry for a daemon.

To run the daemon with a specific, non-provileged userid, a 
separate user has to be created and the name will be stored
in a SMF-propery.

How should a SFE package behave at pkgadd: 

 1) if the userid is missing, just create it with useradd 
    and let solaris choose the next free numeric ID
or

 2) ask the user about the username / userid

or 

 3) provide a script, to be edited by the user after 
    pkginstall and run manually
    no SMF property would be created, user has to read 
    SFE<package>-README/INSTALL files

or
 
 4) choose e.g. nobody and let the user change this
    in SMF, chown files if already created by the daemon
    (logs, databases, ...)


I would like to do 1) as many (all?) distros do. If an
Administrator does not want the generated userid, he can 
create it before pkgadd.

What do you think?


Thomas


--

*********************************************************************
Thomas Wagner                Tel:    +49-(0)-711-720 98-131
Strategic Support Engineer   Fax:    +49-(0)-711-720 98-443
Global Customer Services     Cell:   +49-(0)-175-292 60 64
Sun Microsystems GmbH        E-Mail: Thomas.Wagner at Sun.com
Zettachring 10A, D-70567 Stuttgart       http://www.sun.de

Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, D-85551 
Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Marcel Schneider, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering



Reply via email to