![]() |
Re: How to disable root access?
Quote:
dpkg -r rootsh If it doesn't work, copy&paste the output here. |
Re: How to disable root access?
it didn't work.
The output is below: (reading database ... 25649 files and directories currently installed) Removing rootsh ... /var/lib/dpkg/info/rootsh.prerm: line 5: syntax error: "fi" unexpected (expecting "then") dpkg: error processing rootsh (--remove): subprocess pre-removal script returned error exit status 2 Errors were encountered while processing: rootsh /home/user # .............. ok any suggestions now? :P |
Re: How to disable root access?
OK, rootsh package is broken, unbelievable.
But because you already manually did prerm script command, you can just delete it. rm /var/lib/dpkg/info/rootsh.prerm and then remove rooths package |
Re: How to disable root access?
rm /var/lib/dpkg/info/rootsh.prerm worked.
finally rootsh succesfully uninstalled, thanks everyone :) |
Re: How to disable root access?
Ok it's uninstalled now but I'm stil able to gain root access
|
Re: How to disable root access?
What is the content of gainroot files?
cat /usr/sbin/gainroot.old cat /usr/sbin/gainroot |
Re: How to disable root access?
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 |
Re: How to disable root access?
Quote:
|
Re: How to disable root access?
mark it. and waiting for study more.
|
Re: How to disable root access?
Quote:
|
All times are GMT. The time now is 14:44. |
vBulletin® Version 3.8.8