Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 313 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 313 Bytes

run-chrome-as-root

Run google chrome as another user when logged in as root

create a user called chrome

# adduser chrome

google-chrome.sh

#!/bin/bash

xhost +
su chrome <<'EOF'
/usr/bin/google-chrome-stable --incognito
EOF
# chmod +x ./google-chrome.sh
# ./google-chrome.sh