View Single Post
Posts: 1,208 | Thanked: 1,028 times | Joined on Oct 2007
#21
Originally Posted by smage View Post
The two files are identical.

Their content is below:


#!bin/sh
#From Andrey Gubarev easyroot
trap exit SIGHUP SIGINT SIGTERM
PATH=/bin:/usr/bin:/sbin:/usr/sbin
if [ "$1" = "--use-su" ]
then
exec su -
else
echo "Root shell enabled"
/bin/sh
fi
You should get the original file somewhere and copy it there. and remove gainroot.old. Unfortunately I have the same situation so I don't know the original file.

You coulld just place empty file as gainroot too.