Re: permissions below /dev/ across reboots
- To: firstname.lastname@example.org
- Subject: Re: permissions below /dev/ across reboots
- From: Seeker5528 <email@example.com>
- Date: Sat, 1 Oct 2005 01:31:38 -0700
- Message-id: <20051001013138.0f5c69b8@localhost>
- In-reply-to: <20050929115055.GA5370@twelvegates.homeip.net>
- References: <20050929115055.GA5370@twelvegates.homeip.net>
On Thu, 29 Sep 2005 13:50:55 +0200
Hanspeter Roth <firstname.lastname@example.org> wrote:
> How does one set the permission of /dev/net/tun so that they remain
> across reboots?
I wasn't succesful when I tried to do it for use with qemu.
I did however find a script on the net named qemu-ifup-sudo, which
initiates a tun connection and uses dhcp to give the client in the
qemu session a network address.
The way it works for qemu, you put qemu-ifup-sudo in /etc then in the
qemu-ifup script that qemu expects to find you put in:
: then use visudo to give users permission to run the script.
For a single user named seeker a line like this is needed:
seeker ALL=(ALL) /etc/qemu-ifup-sudo
: this configuration requires the user's log in password when qemu is