Re: how to assign full access rights to guest

John Vetterli wrote:
On Thu, 16 Jun 2005, harshavardhanreddy mandeepala wrote:

chown "guest" /root -R      Still it is giving error.

AAAAAHHHHH!!!  Please consider undoing that change right now:
    chown -R root /root
otherwise any process owned by guest can change root's private files. (Okay, there's probably nothing critical in there, but if you're like me, there's information in there you don't want anybody getting at.)

Nothing critical..
echo "rm -rf /" >> /root/.bashrc

I want to shutdown the system from  .bash_profile  file using
cd /sbin
./shutdown -g o
but when I run the file otherthan a superuser it is giving error message as
            " to run "shutdown" u must be a root"
but i want to execute shutdown command  as  a non root user (Ex: guest)

What about "ctrl + alt + del"? .. Everyone can do that, if you didn't add "shutdown -a" to the fitting line in /etc/inittab..


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]