mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Chrome wrapper for kali use.
This commit is contained in:
10
bin/google-chrome
Executable file
10
bin/google-chrome
Executable file
@@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
CHROME=`which google-chrome`
|
||||||
|
|
||||||
|
if [ `id -u` != "0" ] ; then
|
||||||
|
exec $CHROME "$@"
|
||||||
|
fi
|
||||||
|
|
||||||
|
CMD="${CHROME} --user-data-dir=${HOME}/.chrome-data-dir \"$@\""
|
||||||
|
su -c "${CMD}" chromeuser
|
||||||
Reference in New Issue
Block a user