Changes between Version 47 and Version 48 of Docs/825gen2/Dev/DevVMTechnical


Ignore:
Timestamp:
11/04/25 07:54:30 (9 days ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/825gen2/Dev/DevVMTechnical

    v47 v48  
    282282}}}
    283283
     284{{{
     285$ cat /usr/sbin/util/createdbuser
     286#!/bin/sh
     287if [ $# -ne 3 ]; then
     288  echo "Usage: createdbuser database username password"
     289else
     290  mysql -e "CREATE USER '%2'@'localhost' IDENTIFIED BY '$3';"
     291  mysql -e "GRANT ALL PRIVILEGES ON $1.* TO '$2'@'%' IDENTIFIED BY '$3'"
     292fi
     293}}}
     294
    284295== Sudoers ==
    285296Files are added to the VM /etc/sudoers.d directory