screenshot
Member
Hallo,
Ist zwar kein Programmieren, aber ich hoffe, dass ich trotzdem das richtige Forum erwischt habe.
Ich frage mich wieso dies hier nicht funktioniert:
---
#!/bin/sh
ROOT_UID=0
if ("$UID" -ne "$ROOT_UID")
then
echo "your not root!"
exit 1
fi
echo "you are root!"
--
Vielen Dank für eure hilfe, gruss screenshot
Ist zwar kein Programmieren, aber ich hoffe, dass ich trotzdem das richtige Forum erwischt habe.
Ich frage mich wieso dies hier nicht funktioniert:
---
#!/bin/sh
ROOT_UID=0
if ("$UID" -ne "$ROOT_UID")
then
echo "your not root!"
exit 1
fi
echo "you are root!"
--
Vielen Dank für eure hilfe, gruss screenshot