Commit 425f38de authored by m3hm00d's avatar m3hm00d
Browse files

Only 'amnesia' user is now restricted from using su.

Earlier implementation restricted all users except root from using su.
This has been changed now. This implementation only restricts 'amnesia'
user from using su. Others users can now use su.
parent 56323b87
......@@ -14,7 +14,7 @@
# Since we don't want to add 'su' function for root user, we will stop
# execution of this script if $USER is root.
[ "$USER" == root ] && return
[ "$USER" == "amnesia" ] || return
su (){
/usr/local/bin/replace-su-with-sudo
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment