<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
hi<br>
<br>
i am trying to setup the VLAN network option for opennebula -
between fileserver, Sunstone, and 2 hosts.<br>
but i keep coming across this linux problem and not getting the
correct permissions to the user 'oneadmin'<br>
<br>
i have cheched that i can successfully create VLAN using the root
account on the hosts. and sunstone.<br>
the fileserver has the expected VLANs with static IP<br>
<br>
and my struggle is in allocating <b>oneadmin (</b>user) privileges
to create VLAN.<br>
<br>
i have edited the sudoers file - <b>cat
/etc/sudoers.d/opennebula-node</b> - adding the following<br>
<br>
<blockquote>## enable VLAN tagging<br>
%cloud ALL=(ALL) NOPASSWD: /sbin/vconfig *<br>
%cloud ALL=(ALL) NOPASSWD: /sbin/brctl *<br>
%cloud ALL=(ALL) NOPASSWD: /sbin/ip *<br>
</blockquote>
then log as oneadmin on this host, and issue the following command:<br>
<blockquote>oneadmin@onhost02:~$ /sbin/vconfig add eth0 100<br>
WARNING: Could not open /proc/net/vlan/config. Maybe you need to
load the 8021q module, or maybe you are not using PROCFS??<br>
ERROR: trying to add VLAN #100 to IF -:eth0:- error: Operation
not permitted<br>
</blockquote>
as i said, i can create the VLAN using root.<br>
what is the correct way to enable permissions to <b>oneadmin<br>
</b><br>
i tried looking through the system logs for a clue but it does show
anything<br>
<b><br>
</b>thanks,<b><br>
</b><br>
Nicolas<br>
<br>
<br>
<div class="moz-signature">-- <br>
<small>
sent with Debian Linux (<a class="moz-txt-link-freetext" href="http://www.debian.org">http://www.debian.org</a>)<br>
free yourself into a safer internet
</small>
<br>
<small>
this message is only intended to its recipient
</small></div>
</body>
</html>