LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-05-2009, 04:23 PM   #1
baig
Member
 
Registered: Nov 2008
Location: وادی ھنزہ
Distribution: Solaris 5.10, Debian Server 5.2, CentOS 5.6
Posts: 226
Blog Entries: 3

Rep: Reputation: 38
What reverses I'll face with this?


I was logged in as ordinary user as usual, I keep a terminal, root logged in, for administration....

I was unable to delete client(300mb) from trash using GUI.. was giving me some error.. I decided to delete it through CLI.. I was suppose to to it as ordinary user.. but unfortunately I typed it in root terminal..


Code:
rm -frv `find / -name client`
(I didn't redirect the output to somewhere... )
and it deleted long enough list from /usr/... and etc.. and ofcourse the
one I wanted.
one thing which i remember was "smolt" included in the deleted list..

Now I observe a bit strange behaviour ...
(I was unable to redirect the output)
Code:
[root@wazirkutz log]# ifdown eth0
Firewall started
system hangs when I open system logs in GUI.

Takes considerable time to shutdown and startup.

Question:

What security reverses I may face? what should I do to fix any possible prob?

Cheers!!
 
Old 01-05-2009, 04:34 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
You need to find out what you deleted. Look through your backup for files named client and check to see if they have been deleted from your / tree. Something like:

find /backup -name client

or whatever command it takes to search your backup.

---------------------
Steve Stites
 
Old 01-05-2009, 04:39 PM   #3
baig
Member
 
Registered: Nov 2008
Location: وادی ھنزہ
Distribution: Solaris 5.10, Debian Server 5.2, CentOS 5.6
Posts: 226
Blog Entries: 3

Original Poster
Rep: Reputation: 38
Sorry I forgot to mention that I don't have a system backup in this situation.. Unfortunately I don't have backup...
 
Old 01-05-2009, 05:11 PM   #4
baig
Member
 
Registered: Nov 2008
Location: وادی ھنزہ
Distribution: Solaris 5.10, Debian Server 5.2, CentOS 5.6
Posts: 226
Blog Entries: 3

Original Poster
Rep: Reputation: 38
I think here what are missing...


Code:
[root@wazirkutz ~]# rpm -Va |grep miss
missing     /var/run/pm-utils/storage
prelink: /usr/lib64/libopenrawgnome.so.1.4.0: prelinked file was modified
missing   c /etc/yum.repos.d/rpmfusion-nonfree-rawhide.repo
missing   c /etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo
missing   c /etc/yum.repos.d/rpmfusion-nonfree-updates.repo
missing   c /etc/yum.repos.d/rpmfusion-nonfree.repo
prelink: /usr/bin/seahorse: prelinked file was modified
prelink: /usr/bin/seahorse-agent: prelinked file was modified
prelink: /usr/bin/seahorse-daemon: prelinked file was modified
prelink: /usr/bin/seahorse-preferences: prelinked file was modified
prelink: /usr/bin/seahorse-tool: prelinked file was modified
prelink: /usr/lib64/seahorse/seahorse-applet: prelinked file was modified
prelink: /usr/lib64/seahorse/seahorse-ssh-askpass: prelinked file was modified
missing     /usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre/lib/x86_64/client
missing     /var/lib/texmf/default.ls-R
missing     /var/lib/texmf/dvipdfm/config/config
missing   c /var/lib/texmf/web2c/mktex.cnf
missing   c /etc/yum.repos.d/adobe-linux-i386.repo
missing     /var/lib/texmf/dvips/config/config.generic
missing     /var/lib/texmf/dvips/config/config.ps
missing   c /etc/yum.repos.d/rpmfusion-free-rawhide.repo
missing   c /etc/yum.repos.d/rpmfusion-free-updates-testing.repo
missing   c /etc/yum.repos.d/rpmfusion-free-updates.repo
missing   c /etc/yum.repos.d/rpmfusion-free.repo
missing     /usr/lib/python2.5/site-packages/fedora/client
missing     /usr/lib/python2.5/site-packages/fedora/client/__init__.py
missing     /usr/lib/python2.5/site-packages/fedora/client/__init__.pyc
missing     /usr/lib/python2.5/site-packages/fedora/client/__init__.pyo
missing     /usr/lib/python2.5/site-packages/fedora/client/baseclient.py
missing     /usr/lib/python2.5/site-packages/fedora/client/baseclient.pyc
missing     /usr/lib/python2.5/site-packages/fedora/client/baseclient.pyo
missing     /usr/lib/python2.5/site-packages/fedora/client/bodhi.py
missing     /usr/lib/python2.5/site-packages/fedora/client/bodhi.pyc
missing     /usr/lib/python2.5/site-packages/fedora/client/bodhi.pyo
missing     /usr/lib/python2.5/site-packages/fedora/client/fas2.py
missing     /usr/lib/python2.5/site-packages/fedora/client/fas2.pyc
missing     /usr/lib/python2.5/site-packages/fedora/client/fas2.pyo
missing     /usr/lib/python2.5/site-packages/fedora/client/pkgdb.py
missing     /usr/lib/python2.5/site-packages/fedora/client/pkgdb.pyc
missing     /usr/lib/python2.5/site-packages/fedora/client/pkgdb.pyo
missing     /usr/lib/python2.5/site-packages/fedora/client/proxyclient.py
missing     /usr/lib/python2.5/site-packages/fedora/client/proxyclient.pyc
missing     /usr/lib/python2.5/site-packages/fedora/client/proxyclient.pyo
so any idea how to fix? which packages to reinstall?
 
  


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
LXer: FFII face-to-face to solve patent problems LXer Syndicated Linux News 0 11-17-2006 04:54 AM
Ping reverses IP address sequence hussar Linux - Networking 2 12-21-2005 12:18 AM
hosts file reverses IP and hostnames mike114327 Linux - Networking 0 10-12-2004 03:13 PM
download manager reverses direction jackstoage Linux - Distributions 0 05-26-2004 08:26 PM
face to face in Malaysia ... Penang thomassounness Linux - Newbie 3 06-29-2003 07:09 PM


All times are GMT -5. The time now is 12:57 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration