[Eisfair_dev] eisfair1 adduser?
Peter Bäumer
peter at baeumer.homeunix.net
Fr Dez 28 10:26:11 CET 2012
Glück Auf! Jens
Am 27.12.2012 22:49, schrieb Jens Kluge:
>
>
> Bräuchte etwas Nachhilfe in eisfair ;-)
>
> Wie lege ich folgenden System user an?
>
> In ubuntu linux:
> adduser --system --home=/opt/openerp --group openerp
/var/install/bin/add-user --help
usage: add-user
or: add-user user encrypted-password uid gid name home shell
eisfair # /var/install/bin/add-user -l openerp '*' '' '[gid der Gruppe
openerp]' 'openerp deamon' /opt/openerp /bin/false
oder
useradd --help
Usage: useradd ...
useradd - create a new user
-c comment Set the GECOS field for the new account
--show-defaults Print default values
--save-defaults Save modified default values
-D binddn Use dn "binddn" to bind to the LDAP directory
-d homedir Home directory for the new user
-e expire Date on which the new account will be disabled
-f inactive Days after a password expires until account is disabled
-G group,... List of supplementary groups
-g gid Name/number of the users primary group
-k skeldir Specify an alternative skel directory
-m Create home directory for the new user
-o Allow duplicate (non-unique) UID
-P path Search passwd, shadow and group file in "path"
-p password Encrypted password as returned by crypt(3)
-u uid Force the new userid to be the given number
-r, --system Create a system account
-s shell Name of the user's login shell
--service srv Add account to nameservice 'srv'
--help Give this help list
--usage Give a short usage message
-v, --version Print program version
Valid services for --service are: files, ldap
ob es möglich ist über das Setup einen System Account anzulegen ist mir
nicht bekannt --> da müsste einer von Eisfair Team was zu Sagen.
>
> Anschließend sollte postgres wie folgt konfiguriert werden
>
> createuser --createdb --username postgres --no-createrole --no-superuser
> --pwprompt openerp
>
>
> Source:
> http://www.firstclasscomputerconsulting.com/OpenERP/OpenERP70Videos/tabid/145/articleType/ArticleView/articleId/1/Guide-to-Installing-OpenERP-7-on-Ubuntu.aspx
>
>
> Danke für eure Hilfe
> Grüße
> Jens
Mehr Informationen über die Mailingliste Eisfair_dev