LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 05-03-2001, 08:47 AM   #1
anand
LQ Newbie
 
Registered: May 2001
Posts: 1

Rep: Reputation: 0
Unhappy


Hi,

Accidentally I have changed the ownership from the root dir (/) to a different user of the same group.
eg. on '/' I did : chown -R xuser:root .

Now, I am not even able to login /su as root.
It says, 'su: cannot set groups: Operation not permitted'

Also I am unable to change the ownership back to root on any files/directory.

Can anybody help me with suggestions to revert back to the default ownership on all.

thanks in advance,
anand ...
 
Old 05-04-2001, 05:47 AM   #2
raz
Member
 
Registered: Apr 2001
Location: London
Posts: 408

Rep: Reputation: 31
You could use a boot disk then re-mount the harddisk and change the ownership of the directory back to normal.

Next time if you really want to destroy your system quicker use #rm -r -f, not so painful it just dies quickly.

/Raz
 
  


Reply


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
Reverting back after install chrisbhall Linux - Newbie 2 01-06-2005 09:19 AM
Suse 9.1 reverting back to XFree 3.9.x from CD Mal_Function Linux - Newbie 3 06-08-2004 09:09 AM
fatab keeps Reverting Back to the orginal. oseespcs Fedora 4 04-20-2004 02:36 PM
Home directory permissions reverting back Parksy Linux - General 3 02-04-2004 09:21 PM
Reverting back to XFree86 3.3.6 rdjones Slackware 1 10-21-2003 01:57 AM


All times are GMT -5. The time now is 10:30 AM.

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