Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-10-2005, 02:52 AM   #1
Registered: Jun 2005
Location: Kentucky
Distribution: Ubuntu
Posts: 794

Rep: Reputation: 56
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?

Last edited by dudeman41465; 10-10-2005 at 03:51 AM.
Old 10-10-2005, 03:37 AM   #2
Registered: Aug 2005
Location: Ecotopia
Distribution: Ubuntu 7.04 'Feisty' & 6.06 'Dapper'; Debian 4.0 'Etch'
Posts: 119

Rep: Reputation: 15
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....


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
is this a bad idea ? fileserver/firewall... epoo Linux - Security 8 05-07-2005 03:44 PM
Slack on a LapTop, Bad Idea??? Synth218 Slackware 33 04-11-2005 07:15 PM
Is this a good or bad idea? kemplej Linux - Software 2 10-26-2004 10:34 AM
Bad idea to add new sdram? silentwhispers Linux - Hardware 10 08-24-2004 09:51 PM
Why is chmod a+r -R /usr/ a bad idea? BroX Linux - Newbie 4 11-18-2003 01:47 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration