SHARE
TWEET

Untitled

a guest Jun 17th, 2019 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. adduser --system --no-create-home --group -u 1234 myuser
  2.      
  3. #!/bin/bash
  4.  
  5. SCRIPT_PATH="/etc/myservice/env.sh"
  6.  
  7. if [ "$(id -u)" -eq 1234 ]; then
  8.         source "$SCRIPT_PATH"
  9. fi
  10.      
  11. #!/bin/bash
  12. export MY_VAR="1234"
  13.      
  14. chown -R myuser:myuser /etc/myservice
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top