git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/files/udo
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/files/udo')
-rwxr-xr-xansible/files/udo38
1 files changed, 38 insertions, 0 deletions
diff --git a/ansible/files/udo b/ansible/files/udo
new file mode 100755
index 0000000..019e149
--- /dev/null
+++ b/ansible/files/udo
@@ -0,0 +1,38 @@
+#!/usr/bin/env sh
+
+printf "\n ;NNNNNNNNNNNNN\n"
+printf " XNNNNNNNNNNNN\n"
+printf " oNNNNNNNNNNNN\n"
+printf " KNNNNNNNNNNN\n"
+printf " .xNNNNNNNXOd\n"
+printf " ;' .;lo;. \n"
+printf " ,' ..:lc\n"
+printf " ..... . c0KO:0\n"
+printf " ...... ,: 'cxxd\n"
+printf " ...... ;okO00Ok\n"
+printf " ........ .0xOKN0ONN\n"
+printf " cXoXNo cON\n"
+printf " x0o . ;l .'.,c,.kN\n"
+printf " :NNNK.......';lkNNx ,XKxxXNN\n"
+printf " ........XNNNNdXd,oKNNNNNNNd .oONNNNN\n"
+printf " ...''',;lclxkNNOcckNXl0NN0NNNl .oXNNNNNNN\n"
+printf " 'KlXNNNNNl0kkdxONNNNNNd0NoNNNc dNNNNNNNNNN\n"
+printf " ',NXKNo0NNNNNNxco0NNNxNOxNN.xNNNNNNNNNNX\n"
+printf " ;N0XoNNo,:lcdOOooXNNNNdNx KNNNNNNNNXc \n"
+printf " . ;NOKK:lKNNXOocxNNNNNN0K. xNNNNXkc. \n"
+printf " :NXNNXkc,;clxxkNNNNKl. .NN0: \n"
+printf ". c. 'lNNNNNNNNNNNNNNNx. ,,,. \n"
+printf " .; .ocONNNNNNNNNNk. cl. \n"
+printf " . .. ,Ol;;:ooooc,. ck \n"
+printf " . . .kNN0kl. xNK;'. \n"
+printf ".. . . :XNNNK.,oX:lNNNx \n"
+printf " ... ' .0NNNNNNNNNNX: \n"
+printf " . . .xNNNNNNNXc .; \n"
+printf " ;ONNNx; \n"
+printf " 'K. \n\n"
+
+case "$1" in
+ "") sudo 2>&1|sed 's/\ s\(udo\ \)/ \1/g' >&2;;
+ "-h") sudo -h|sed 's/\ s\(udo\ \)/ \1/g;s/^s\(udo\ \)/\1/';;
+ *) sudo -p "[udo] Schätzelein, gib doch mal dein Passwort ein: " $@;;
+esac