Thread: user rights for /dev/´s

  1. #1
    Registered User
    Join Date
    Oct 2005
    Posts
    5

    user rights for /dev/´s

    Can anyone help me with this?
    I´ve set my user-rights on /dev/parport0, then I do a reboot and they´re gone again. Can anyone tell me how to make them last?
    I think they´re re-generated on each boot, but is it possible to tell Linux to generate them with the right permissions?

  2. #2
    Registered User Jaqui's Avatar
    Join Date
    Feb 2005
    Posts
    416
    you have to edit the initscripts to change device permissions permanently.
    exactly where they are is distro specific, but most comonly in etc/initrd

    it's the parport kernel module, so it's through the insmod section of the scripts.
    Quote Originally Posted by Jeff Henager
    If the average user can put a CD in and boot the system and follow the prompts, he can install and use Linux. If he can't do that simple task, he doesn't need to be around technology.

  3. #3
    Registered User
    Join Date
    Oct 2005
    Posts
    5
    Nothing about parport in the init scripts, but i found some stuff in /etc/modprobe.conf

    Code:
    # Load lp after parport
    install parport /sbin/modprobe -i parport && /sbin/modprobe lp
    Do you think I can change anything here? Or should I just add a chmod in the next line?

  4. #4
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    I think you should look at the devfsd / udev configuration, depending on which you use.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  5. #5
    Registered User
    Join Date
    Oct 2005
    Posts
    5
    ah okay....udev...

    good, it works.


    thanks for help!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 04-03-2008, 09:07 PM
  2. Add/Delete Remotely a user
    By Scarvenger in forum Windows Programming
    Replies: 5
    Last Post: 03-24-2008, 08:36 AM
  3. Replies: 4
    Last Post: 04-21-2004, 04:18 PM
  4. ~ User Input script help~
    By indy in forum C Programming
    Replies: 4
    Last Post: 12-02-2003, 06:01 AM
  5. Stopping a user from typeing.
    By knave in forum C++ Programming
    Replies: 4
    Last Post: 09-10-2001, 12:21 PM