DelphiFAQ Home Search:
General :: Linux
General Linux help.

Articles:

This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Featured Article

How to add a group in BSD Unix

Question:

The mysql install instructions tell me to create a new group 'mysql' and a user 'mysql'. But the suggested (standard unix) command groupadd does not work on my BSD system?

Answer:

You need to run the following commands. Use tool pw to add groups and users, and notice the reverse order of arguments in the command to add a user.

pw groupadd mysql
 pw useradd mysql -g mysql
 cd /usr/local
 ln -s /root/peter/mysql-5.0.45-freebsd6.0-i386 mysql
 cd mysql
 chown -R mysql .
 chgrp -R mysql .
 scripts/mysql_install_db --user=mysql
 chown -R root .
 chown -R mysql data
 bin/mysqld_safe --user=mysql &
 
 

Generated 12:00:46 on Oct 20, 2017