groupadd
For example, to add a group called mysql, use the following command:
#>groupadd mysql
To add a user with a group, use:
useradd -s
For example, to add a use called mysql to a mysql group, using the following command:
#> useradd -s /bin/csh -m -d /home/mysql -c "Mysql User" -g mysql mysql
No comments:
Post a Comment