BLAG

BLAG Forums
It is currently Mon Dec 22, 2014 3:34 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Tue Jan 25, 2005 1:33 pm 
Offline
Site Admin

Joined: Wed Mar 17, 2004 6:17 pm
Posts: 1340
Location: London, UK
say i dloaded some source code and ran ./configure && make && make install to build/compile the app. If the app contained some drivers, how would I remove them?

locate driver_foo.o;

rm /path/to driver.o ??

Man, I've definately borked this time. But it's fun though :lol: Never given this much control under doze

_________________
BLAG 'em up!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 25, 2005 7:53 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 3:17 pm
Posts: 4492
Location: Loveland, Colorado, USA
The app contained kernel drivers?

They'd be in:
Code:
/lib/modules/kernel-2.6.10yadayada/kernel/drivers/XXXXX


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 26, 2005 11:33 am 
Offline
Site Admin

Joined: Wed Mar 17, 2004 6:17 pm
Posts: 1340
Location: London, UK
aha. I've located all of the drivers with the locate command.
I'm gonna [run as root]
Code:
find / -iname foo -ok rm '{}'  \;


This would remove all instances of foo including the drivers. The -ok is for confirmation from the terminal.[/code]

_________________
BLAG 'em up!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 26, 2005 4:18 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 3:17 pm
Posts: 4492
Location: Loveland, Colorado, USA
that looks like an incredibly dangerous command to run as root... ;)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 26, 2005 10:51 pm 
Offline
Site Admin

Joined: Wed Mar 17, 2004 6:17 pm
Posts: 1340
Location: London, UK
hence the -ok swithc for confirmation? :?

_________________
BLAG 'em up!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group