LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-15-2006, 02:47 AM   #1
lhrt
Member
 
Registered: Mar 2006
Posts: 82

Rep: Reputation: 15
usb locking_how?


hi,
I need to lock my usb drive for public and for root tooo. Is there any way yo lock usb drive other than in bios? and I should get an alert on mounting usb device. Any ieads?
thanks
 
Old 06-16-2006, 11:07 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
If you're using a recent Linux kernel and udev, then you should be able to set up a udev rule to create the device node with the permissions you want, or even to not create one at all. And you can also use udev to run commands or scripts, so I'm sure you could work out some way to send an alert with it as well.

For more info on udev, see the links on this page:
http://www.kernel.org/pub/linux/util...plug/udev.html
 
Old 06-17-2006, 01:58 AM   #3
lhrt
Member
 
Registered: Mar 2006
Posts: 82

Original Poster
Rep: Reputation: 15
thanks for replay. I will check it out.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Get usb.c: ignoring set_interface when pluging in a Belkin USB Direct Connect Cable qwerty102 Linux - Networking 0 02-15-2005 08:49 AM
USB LexarMedia 32MB Data-Key + KDE 3.2=USB/HD Access problems that_guy Slackware 0 02-03-2005 08:27 AM
USB problems: Memorex USB stick 256MB and PSX to USB adapter by Radio Shack Knuckles T15 Linux - Hardware 1 05-19-2004 06:58 PM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 03:22 PM
Red Hat Linux 8 hangs at initializing usb controller (usb-uhci) subaschan Linux - General 5 09-15-2003 02:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:35 AM.

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
Open Source Consulting | Domain Registration