Merge branch 'testing' into dev
[feisty_meow.git] / examples / os_related / user_sudoing.sh
diff --git a/examples/os_related/user_sudoing.sh b/examples/os_related/user_sudoing.sh
deleted file mode 100644 (file)
index 4f12ed7..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-
-# if this script is run as sudo, then at some point it may be useful to become another
-# user, in order to run something from within their context.  this is one way to do it
-# with a semi-interactive set of steps...
-sudo -u chronical bash <<eof
-echo hello this is \$USER
-echo we be in \$(pwd)
-echo "where you at?"
-eof
-
-# this can also be done by running a script with all those commands in it.
-sudo -u chronical bash /home/chronical/thing_to_run_as_chronical.sh
-