From: Luca Ferroni <luca.ferroni@studio.unibo.it>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: Morphix booting in 1024x768 resolution and Win32 questions
Date: Wed, 17 Mar 2004 15:20:16 +0100 [thread overview]
Message-ID: <20040317152016.4fa3c140.luca.ferroni@studio.unibo.it> (raw)
In-Reply-To: <c39kvr$863$1@sea.gmane.org>
Il Wed, 17 Mar 2004 15:48:40 +0200, Sami Haahtinen <ressu@ressukka.net> ha scritto:
> Luca Ferroni wrote:
> > The problem of root execution is the script /etc/qemu-ifup which calls ifconfig
> > It is not enough to set permissions 755 to this script
> > You can use sudo,
> >
> > #!/bin/sh
> > sudo /sbin/ifconfig $1 172.20.0.1
> >
> > and put your user in /etc/sudoers file
> >
> > user ALL=(ALL) NOPASSWD: ALL
>
> EEEEK!
>
> Kids, never ever ever try this at home! You have just granted access to
> any account without any password to anyone who can access your account
> (read, someone who gets you to run a simple script or exploits the
> newest über exploit for the leet mailclient[tm] you were running)
>
> Something that would be a bit more sane would read:
> user ALL = NOPASSWD: /sbin/ifconfig
>
> and for someone even more paranoid:
> user ALL = NOPASSWD: /sbin/ifconfig tun*
>
> please, do yourself a favour and use one of the above instead of
> granting access to all around the system. the password isn't really that
> much of a pain to write, and it provides security.
sorry I used that configuration for test because tun0 didn't work properly.
thank you for the suggestion,
I have never used sudo before and so I left that configuration after the test succeded
bye
--
----------------------------------------
Non ci toglieranno mai....la LIBERTA'!!!
Luca Ferroni
www.cs.unibo.it/~fferroni/
----------------------------------------
prev parent reply other threads:[~2004-03-17 14:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-16 14:42 [Qemu-devel] Morphix booting in 1024x768 resolution and Win32 questions Jean-Michel POURE
2004-03-16 15:10 ` Markus Niemistö
2004-03-16 15:16 ` Jean-Michel POURE
2004-03-16 16:38 ` Markus Niemistö
2004-03-17 10:27 ` Luca Ferroni
2004-03-17 13:48 ` [Qemu-devel] " Sami Haahtinen
2004-03-17 14:20 ` Luca Ferroni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040317152016.4fa3c140.luca.ferroni@studio.unibo.it \
--to=luca.ferroni@studio.unibo.it \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).