Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 01-05-2009, 10:03 PM   #1
Registered: Sep 2006
Posts: 38
Blog Entries: 1

Rep: Reputation: 15
How to revert the permissions set on chmod as a root user


Can any body help me to revert the permissions set on chmod as a root user. Means that i have set chmod 000 /bin/chmod now I am unable to set permission on any file or folder.

Prashant Sharma
Old 01-05-2009, 10:28 PM   #2
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
Boot a live CD and chmod it from there?
Old 01-05-2009, 10:29 PM   #3
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 165Reputation: 165
Do you have access to boot the box with a rescue CD/DVD? If so, just re-boot and use the chmod on the rescue CD to change the permissions on your installed version. You should also be able to reinstall the package that contains the chmod binary.


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
chown and/or chmod to restore permissions on files moved from another drive by root. Shay Linux - General 4 04-12-2007 08:47 AM
Windows partition requires root permissions- chmod question Garibaldi3489 Slackware 19 05-16-2005 01:52 AM
Root user unable to rm, mv or chmod Zoar Linux - Newbie 2 06-16-2004 10:23 PM
Graphically setup user permissions (frontend to chmod and chown) sfonvill Linux - Security 2 08-27-2003 03:12 PM
How to set user permissions? chem1 Linux - Security 3 06-19-2003 01:12 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration