Changes between Version 47 and Version 48 of Docs/825gen2/Dev/DevVMTechnical
- Timestamp:
- 11/04/25 07:54:30 (9 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/825gen2/Dev/DevVMTechnical
v47 v48 282 282 }}} 283 283 284 {{{ 285 $ cat /usr/sbin/util/createdbuser 286 #!/bin/sh 287 if [ $# -ne 3 ]; then 288 echo "Usage: createdbuser database username password" 289 else 290 mysql -e "CREATE USER '%2'@'localhost' IDENTIFIED BY '$3';" 291 mysql -e "GRANT ALL PRIVILEGES ON $1.* TO '$2'@'%' IDENTIFIED BY '$3'" 292 fi 293 }}} 294 284 295 == Sudoers == 285 296 Files are added to the VM /etc/sudoers.d directory
![(please configure the [header_logo] section in trac.ini)](/chrome/site/cardinal.gif)