LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Bad Idea (https://www.linuxquestions.org/questions/linux-software-2/bad-idea-371417/)

dudeman41465 10-10-2005 01:52 AM

Bad Idea
 
I'm starting to get the hang of the linux command line and I have a question. First know that of course I am not going to be dum enough to try this but, if I executed these commands:

#chgrp --recursive marcus /
#chown --recursive marcus /

Would that give me permission to open up any folder anywhere on the hard drive and delete it without root permission and without being prompted for the root password or anything?

PaganHippie 10-10-2005 02:37 AM

It might, but then anything installed that depended on being owned by 'root' would break. So... if you wanted to really scrogg a system, it might be an educational experiment.... ;)


All times are GMT -5. The time now is 10:45 PM.