ns.
>
> Last, you can give them sudo permissions to create only the specific
> device files needed. This is only recommended for the first case, though.
>
> Sample session with fakeroot-ng:
>
> [EMAIL PROTECTED]:~$ mkdir /tmp/dir
> [EMAIL PROTECTED]:~$ cd /tmp/dir
> [EMAIL PROT
On Mon, 5 May 2008, Ohad Levy wrote:
for embedded platform development, its required to create devices which are
hardware specific (i.e. our own modules).
any way to reduce the risk?
The easiest way is to write a small script that mknods only specific
devices, and let the user sudo that scri
way to reduce the risk?
>
> Thanks
>
>
> On Mon, May 5, 2008 at 10:32 PM, Shachar Shemesh <[EMAIL PROTECTED]>
> wrote:
>
> Ohad Levy wrote:
> Hello All,
>
> Is there any risk to give a user sudo r
dir
[EMAIL PROTECTED]:~$ cd /tmp/dir
[EMAIL PROTECTED]:/tmp/dir$ fakeroot-ng -pstate mkdir dev
[EMAIL PROTECTED]:/tmp/dir$ fakeroot-ng -pstate mknod dev/sda b 8 0
Notice how the "mknod" call succeeded. Did it create a block device?
[EMAIL PROTECTED]:/tmp/dir$ ls -la dev
total 8
drwxr-xr-
On Mon, May 05, 2008 at 09:59:22PM +0800, Ohad Levy wrote:
> Hello All,
>
> Is there any risk to give a user sudo rights of mknod?
>
> as far as I understand it now, it can only create new devices,
> therefor the risk for a running system is minimal.
Not sure what you mean by
> > Is there any risk to give a user sudo rights of mknod?
> > as far as I understand it now, it can only create new devices, therefor
> > the risk for a running system is minimal.
> >
> > Thanks,
> > Ohad
> >
> As others mentioned, giving someone the ri
Ohad Levy wrote:
Hello All,
Is there any risk to give a user sudo rights of mknod?
as far as I understand it now, it can only create new devices,
therefor the risk for a running system is minimal.
Thanks,
Ohad
As others mentioned, giving someone the right to mknod is equivalent to
giving
What about udev?
On Mon, May 5, 2008 at 4:59 PM, Ohad Levy <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> Is there any risk to give a user sudo rights of mknod?
> as far as I understand it now, it can only create new devices, therefor the
> risk for a running system is minima
--- On Mon, 5/5/08, Ohad Levy <[EMAIL PROTECTED]> wrote:
> From: Ohad Levy <[EMAIL PROTECTED]>
> Subject: mknod
> To: "linux-il"
> Date: Monday, May 5, 2008, 4:59 PM
> Hello All,
>
> Is there any risk to give a user sudo rights of mknod?
> as
Hello All,
Is there any risk to give a user sudo rights of mknod?
as far as I understand it now, it can only create new devices, therefor the
risk for a running system is minimal.
Thanks,
Ohad
10 matches
Mail list logo