Profile
Achievement
jiewmeng's Recent SnippetsTagged mysql
- All /
« Prev 1 Next »
**Usage**
> newuser.bash [username]
**What it does**
- Generates a random password with `makepasswd`
- Encrypts it with `mkpasswd` for use with useradd
- Adds the user
- Adds a MySQL Database for user
- Adds a MySQL User for user
-...
1
1071
posted 12 years ago by jiewmeng