Re: permissions below /dev/ across reboots

From: Simo Kauppi (swk_at_nic.fi)
Date: 09/30/05

  • Next message: Roberto C. Sanchez: "Re: bayesian filter training question"
    Date: Fri, 30 Sep 2005 14:31:21 +0300
    To: debian-user@lists.debian.org
    
    
    

    On Thu, Sep 29, 2005 at 01:50:55PM +0200, Hanspeter Roth wrote:
    > Hello,
    >
    > How does one set the permission of /dev/net/tun so that they remain
    > across reboots?
    > I guess it has something to do with /etc/udev/permissions.rules.
    > But there is no manpage on permissions.rules.
    >
    > -Hanspeter
    >

    Hi,

    The syntax how to set up rules seems to be explained in the man udev. I
    have also found some helpful pages with google.

    Basically, the udev reads the rule files in the /etc/udev/rules.d/ until
    it finds a match. You might want to set up your own file for local
    rules, so you don't need to mess with the system default files. To make
    sure your local rules get read first, name the file e.g.
    010_local.rules.

    As an example, you set up the permissions for the /dev/net/tun by adding
    a line:

    KERNEL=="tun", NAME="net/%k", OWNER="user", GROUP="group", MODE="0666"

    which means that for a device whose kernel name is "tun", set the device
    name to "/dev/net/tun" (%k = kernel name) with owner "user", group
    "group" and permissions crw-rw-rw-.

    HTH
    Simo

    -- 
    :r ~/.signature
    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Roberto C. Sanchez: "Re: bayesian filter training question"

    Relevant Pages

    • Re: Dos connection to SBS2K3 share
      ... so a domain admin user account does not let you in? ... And the syntax you are using appears incorrect ... to prove that it isn't a permissions problem. ... > Whatever password I type in, I get told that it is incorrect. ...
      (microsoft.public.windows.server.sbs)
    • Re: centerDiv
      ... Permissions have nothing to do with the syntax of javascript. ... It just says some security setting is trying to prevent an dangerous ...
      (comp.lang.javascript)
    • Re: Triggers on Insert, Delete
      ... It took a bit for me to track down but it was the permissions thanks for your help. ... Now if I could just figure out the syntax to add the data that was submitted to the database to the email that the trigger is sending out? ...
      (microsoft.public.sqlserver.server)
    • SHOWACL.exe
      ... >the 2000 Resource Kit. ... >all the permissions ... >>may be typing in the wrong syntax because it scans ... >>directory structure but doesn't show me the ...
      (microsoft.public.win2000.security)