I dont create any group named 'cloud'.<br>Is it created automatically?<br><br>So, the commands that I want to execute with oneadmin have to been inserted in /etc/sudoers file. Is that correct?<br><br>I'm going to make the configuration, and I need to make changes in several files, including oned.conf, that have root as owner.<br>
<br>My oneadmin user below:<br><br>oneadmin@PacsOnCloud-FrontEnd:/etc/one$ id oneadmin<br>uid=107(oneadmin) gid=118(oneadmin) grupos=118(oneadmin)<br><br>What changes I have to do ?<br><br>Thanks.<br><br><div class="gmail_quote">
On Tue, Dec 6, 2011 at 4:12 PM, Hutson Betts <span dir="ltr"><<a href="mailto:hut101@tamu.edu">hut101@tamu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Dear Matheus,<br>
<br>
The oneadmin user should NOT be part of any administrative group.<br>
Rather, the oneadmin user should be part of the 'cloud' group, and any<br>
command required by oneadmin should be added to the /etc/sudoers file<br>
with the appropriate NOPASSWD line. Furthermore, the permissions of<br>
the /var/lib/one folder, or the folder containing the shared directory,<br>
should have the appropriate permissions giving the 'cloud' group access<br>
to that folder, and sub-folders.<br>
<br>
I believe all required permissions are listed in the setup<br>
documentation.<br>
<div class="im HOEnZb"><br>
--<br>
Hutson Betts<br>
Computer Science and Engineering<br>
Texas A&M University<br>
<br>
<br>
</div><div class="HOEnZb"><div class="h5">On Tue, 2011-12-06 at 16:02 -0300, matheus tor4 wrote:<br>
> Does Oneadmin user needs to be in admin group?<br>
> Or have I to make administrative changes only with root?<br>
><br>
> Very thanks.<br>
><br>
> On Tue, Dec 6, 2011 at 3:04 PM, matheus tor4 <<a href="mailto:matheusifal@gmail.com">matheusifal@gmail.com</a>> wrote:<br>
><br>
> > ok! :)<br>
> ><br>
> ><br>
> > On Tue, Dec 6, 2011 at 4:07 AM, davood ghatreh <<a href="mailto:davood.gh2000@gmail.com">davood.gh2000@gmail.com</a>>wrote:<br>
> ><br>
> >> oops! sorry, i didn't read the thread completely :D<br>
> >><br>
> >><br>
> >> On Mon, Dec 5, 2011 at 11:03 PM, davood ghatreh <<a href="mailto:davood.gh2000@gmail.com">davood.gh2000@gmail.com</a>>wrote:<br>
> >><br>
> >>> Hi,<br>
> >>><br>
> >>> With which credential are you starting oned service? if you've started<br>
> >>> it with root credentials, stop it first, then su oneadmin and start it<br>
> >>> again with oneadmin credentials. This happened to me before.<br>
> >>><br>
> >>> Thanks<br>
> >>><br>
> >>><br>
> >>> On Mon, Dec 5, 2011 at 4:17 PM, matheus tor4 <<a href="mailto:matheusifal@gmail.com">matheusifal@gmail.com</a>>wrote:<br>
> >>><br>
> >>>> I already tried<br>
> >>>><br>
> >>>> - Make sure that /var/lib/one/.one/one_auth exists, and contains<br>
> >>>> user:pass string.<br>
> >>>> - Set a environment variable ONE_AUTH=/var/lib/one/.one/one_auth, and<br>
> >>>> put it as global variable.<br>
> >>>> - Change the contain of /var/lib/one/auth to make it strictly similar<br>
> >>>> to /var/lib/one/.one/one_auth file<br>
> >>>> - Make the /var/lib/one/auth work as symbolic link to<br>
> >>>> /var/lib/one/.one/one_auth.<br>
> >>>><br>
> >>>> Nothing works!<br>
> >>>><br>
> >>>> And I get the same error: [VirtualMachinePoolInfo] User couldn't be<br>
> >>>> authenticated, aborting call.<br>
> >>>><br>
> >>>> Any more hints?<br>
> >>>><br>
> >>>> I dont want to reinstall OpenNebula again!! :x<br>
> >>>><br>
> >>>> Thanks for all your help,<br>
> >>>> It's very useful for me.<br>
> >>>><br>
> >>>> Best regards.<br>
> >>>><br>
> >>>> Matheus<br>
> >>>><br>
> >>>> On Sun, Dec 4, 2011 at 7:27 PM, Hutson Betts <<a href="mailto:hut101@tamu.edu">hut101@tamu.edu</a>> wrote:<br>
> >>>><br>
> >>>>> Sounds like an issue with your $ONE_AUTH file.<br>
> >>>>><br>
> >>>>> Here's an e-mail chain that explains the issue a little.<br>
> >>>>><br>
> >>>>> I would simply make sure your $ONE_AUTH<br>
> >>>>> file, /home/oneadmin/.one/one_auth, exists, and that it contains the<br>
> >>>>> username:password string for the oneadmin user.<br>
> >>>>><br>
> >>>>> --<br>
> >>>>> Hutson Betts<br>
> >>>>> Computer Science and Engineering<br>
> >>>>> Texas A&M University<br>
> >>>>><br>
> >>>>><br>
> >>>>> On Sun, 2011-12-04 at 19:16 -0300, matheus tor4 wrote:<br>
> >>>>> > [VirtualMachinePoolInfo] User couldn't be authenticated, aborting<br>
> >>>>> > call.<br>
> >>>>><br>
> >>>>> _______________________________________________<br>
> >>>>> Users mailing list<br>
> >>>>> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> >>>>> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
> >>>>><br>
> >>>>><br>
> >>>><br>
> >>>> _______________________________________________<br>
> >>>> Users mailing list<br>
> >>>> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> >>>> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
> >>>><br>
> >>>><br>
> >>><br>
> >><br>
> >> _______________________________________________<br>
> >> Users mailing list<br>
> >> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> >> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
> >><br>
> >><br>
> ><br>
> ><br>
> > --<br>
> > Matheus Torquato<br>
> > Undergraduate in Computer Science<br>
> > Federal University of Alagoas<br>
> ><br>
> ><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Matheus Torquato<br>Undergraduate in Computer Science <br>Federal University of Alagoas<br><br>