[one-users] running OpenNebula as nonroot user
Tres Wong-Godfrey
tres at blas.phemo.us
Tue Jan 19 19:06:46 PST 2010
Hi Maciej,
Did you start oned as the oneadmin user?
su -c "oned start" oneadmin
(you'll need to stop the process running under root first).
You could always set up an alias in your .bashrc. Something like this might work:
alias onestart='su -c "oned start" oneadmin'
alias onestop='su -c "oned stop" oneadmin'
Regards,
Tres
Tres Wong-Godfrey
On Jan 19, 2010, at 6:18 PM, Maciej Kruk wrote:
> Hi,
>
> I'm trying to run OpenNebula with xen hypervisor as 'oneadmin' user.
> I installed it with "./install.sh -d /srv/cloud/one -u oneadmin -g cloud" command and I added oneadmin to sudoers so it can run xm commands. I also set up passwordless ssh from front end to host (and the other way around, just to be sure)
> But it seems OpenNebula doesn't know it's supposed to run as oneadmin. When I try to add host on the front-end, it stays for a while in an INIT state and then it goes to ERROR state. In the meantime it prompts multiple times for the root at host1 password in the background.
> Is there a way to tell OpenNebula to connect to other hosts as oneadmin?
>
> Thanks,
> Maciej
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
More information about the Users
mailing list