Forum OpenACS Q&A: useradd in mac X

Collapse
Posted by mister ijoi on
hi there...
now i'm trying to install openACS 5 on my mac x.i already install postgres n aolserver.My problem is how to add user by using linux command such useradd as openACS documentation.

source:openacs documentation.

[root root]# useradd $OPENACS_SERVICE_NAME
[root root]#

Collapse
2: Re: useradd in mac X (response to 1)
Posted by Torben Brosten on
mister ijoi,

See "Mac OS X: Do instead:" in section 3's "Create the Postgres user" on this page: https://openacs.org/doc/current/postgres.html#install-postgres-mac
It shows the commands used to add users and groups in mac osx. You can use 'man commandname' to read more about how to use them.

hope this helps,

Collapse
3: Re: useradd in mac X (response to 1)
Posted by mister ijoi on
i already follow postgres installation documentation but when i try to install openACS5, there need to add a user.Is it i have already create the user and can ignore useradd at openACS documentation

tq

Collapse
4: Re: useradd in mac X (response to 1)
Posted by Torben Brosten on
Yes.

     useradd $OPENACS_SERVICE_NAME
     groupadd web

from https://openacs.org/doc/current/openacs.html

is already done for mac users with:

     sudo niutil -create / /users/$OPENACS_SERVICE_NAME
     sudo niutil -createprop / /users/$OPENACS_SERVICE_NAME gid 201
     sudo niutil -createprop / /users/$OPENACS_SERVICE_NAME uid 201

on this page:

https://openacs.org/doc/current/postgres.html

Collapse
5: Re: useradd in mac X (response to 1)
Posted by mister ijoi on
ok it done...
actually step in postgres installation we have create the users so for openacs installation just ignore useradd but just jump to openacs installation with username that you already registered.

tq