linux - What is the OS X equivalent of "useradd -r -d /opt/otrs/ -c 'OTRS user' otrs" and "usermod -G nogroup otrs www-data" -
i trying install otrs on mac. wondering os x equivalent of following commands?
useradd -r -d /opt/otrs/ -c 'otrs user' otrs usermod -g nogroup otrs www-data
the following link might helpful: http://www.maclife.com/article/columns/terminal_101_creating_new_users
and script gives further information , examples: http://wiki.freegeek.org/index.php/mac_osx_adduser_script
according that, following commands should it:
dscl . create /users/otrs dscl . create /users/otrs realname "otrs user" dscl . create /users/otrs nfshomedirectory /opt/otrs dseditgroup -o edit -t user -a otrs nogroup dseditgroup -o edit -t user -a otrs otrs dseditgroup -o edit -t user -a otrs www-data
Comments
Post a Comment