chmod -R XXX *

General chat concerning linux or linuxzoo.

Moderator: drgrussell

Post Reply
Posts: 11
Joined: Tue Oct 07, 2008 2:30 pm

chmod -R XXX *

Post by stugster » Wed Dec 10, 2008 2:14 pm

If an idiot (lets just say a client) were to log in as root and type:

chmod -R 777 *

(making all directories and files on the entire server rwx|rwx|rwx)

Is there an easy way in this all-singing-all-dancing operating system to revert it?

Of course, this is just a theoretical question! None of my clients are that stupid. *cough*

Site Admin
Posts: 426
Joined: Sat Feb 12, 2005 8:57 pm
Are you a robot or a human?: Human

Post by drgrussell » Wed Dec 10, 2008 4:56 pm


Posts: 41
Joined: Fri Oct 10, 2008 6:33 pm

Post by ping00 » Thu Dec 18, 2008 1:10 pm

You'd need to remove those commands from users permissions who you don't want using those commands (so they can't execute them) = basic security practice!

I forget the exact syntax (without going looking for it), but we did that in 2nd year on SUSE GUI also.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest