LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-07-2004, 07:40 AM   #1
chup
Member
 
Registered: Aug 2003
Location: South Africa
Distribution: Ubuntu (Feisty)
Posts: 280

Rep: Reputation: 31
Sudo for kill dangerous?


Hey what's up all?
I have recently purchased a new ipod, 20 gb (18.5 actually...), 3rd generation.
It's working great under linux using gtkpod, but I have to restart devfsd to get the ipod to accept its usb address. I can do that by restarting my computer while having the ipod plugged in, but it works just as fine when using the command "kill -HUP [devfsd pid NO.]". Since I would like all this to happen when I plug the ipod in, I'm trying to write a little script that restarts devfsd, then mounts the ipod and starts gtkpod. I want to be able to run the script as a regular user, and I have already made a sudo entry for mount and umount in the /etc/sudoers file. My question is: if I will add a sudo entry for kill (so that I can restart devfsd as a user), will my system be "in danger"? Does anybody have a better solution for restarting devfsd? Thanks alot in advance.

btw... does anybody know of an application for using smart playlists in linux?
 
Old 03-07-2004, 08:29 AM   #2
Joey.Dale
Member
 
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Rep: Reputation: 39
Maybe, fore with kill you can kill any proc. andpiss you off but there really if no "damage" that could be done.

-Joey
 
  


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
Dangerous Permissions? rob_roman23 Linux - General 4 10-21-2008 10:31 AM
Restricting Editing in Sudo (Advanced Sudo Question) LinuxGeek Linux - Software 4 11-04-2006 03:20 PM
Not exactly a newbie, but still dangerous jhenager LinuxQuestions.org Member Intro 2 09-19-2005 02:51 PM
is this dangerous? Kendo1979 Linux - Security 3 05-17-2005 11:31 PM
Is Knoppix dangerous? Ander Linux - Newbie 9 04-18-2003 01:05 PM

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

All times are GMT -5. The time now is 05:57 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