Hi I need to run xm command as non root user. I tried to run it as non-root user I get the following error [rajiv@carecluster ~]$ xm info ERROR Internal error: Could not obtain handle on privileged command interface (13 = Permission denied) Error: Most commands need root access. Please try again as root. Is it possible to execute xm command as non-root user?? Or only root can do this?? Thanks /Regards Rajiv.R'' Project Associate CARE _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
You need to be root. But you can use sudo. 2009/3/24 Rajiv Rajaian <rajiv.grid@gmail.com>> Hi > I need to run xm command as non root user. I tried to run it as > non-root user I get the following error > > [rajiv@carecluster ~]$ xm info > ERROR Internal error: Could not obtain handle on privileged command > interface (13 = Permission denied) > Error: Most commands need root access. Please try again as root. > > Is it possible to execute xm command as non-root user?? Or only root > can do this?? > > Thanks /Regards > Rajiv.R'' > Project Associate > CARE > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
What configuration Ive to do for this sudo?? Will u please help me to configure this ?? On Tue, Mar 24, 2009 at 10:22 AM, Mark Walkom <markwalkom@gmail.com> wrote:> You need to be root. > But you can use sudo. > > 2009/3/24 Rajiv Rajaian <rajiv.grid@gmail.com> >> >> Hi >> I need to run xm command as non root user. I tried to run it as >> non-root user I get the following error >> >> [rajiv@carecluster ~]$ xm info >> ERROR Internal error: Could not obtain handle on privileged command >> interface (13 = Permission denied) >> Error: Most commands need root access. Please try again as root. >> >> Is it possible to execute xm command as non-root user?? Or only root >> can do this?? >> >> Thanks /Regards >> Rajiv.R'' >> Project Associate >> CARE >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ferreira, N. L. (Nuno)
2009-Mar-24 10:35 UTC
Re: [Xen-users] How to run xen commands non root user
Hi Rajiv You must add your username to the sudoer''s list. Google is your your friend ;-) Cheers, N. Rajiv Rajaian wrote:> What configuration Ive to do for this sudo?? Will u please help me to > configure this ?? > > On Tue, Mar 24, 2009 at 10:22 AM, Mark Walkom <markwalkom@gmail.com> wrote: > >> You need to be root. >> But you can use sudo. >> >> 2009/3/24 Rajiv Rajaian <rajiv.grid@gmail.com> >> >>> Hi >>> I need to run xm command as non root user. I tried to run it as >>> non-root user I get the following error >>> >>> [rajiv@carecluster ~]$ xm info >>> ERROR Internal error: Could not obtain handle on privileged command >>> interface (13 = Permission denied) >>> Error: Most commands need root access. Please try again as root. >>> >>> Is it possible to execute xm command as non-root user?? Or only root >>> can do this?? >>> >>> Thanks /Regards >>> Rajiv.R'' >>> Project Associate >>> CARE >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >>> >> > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- =============================================Nuno Ricardo Santos Loureiro da Silva Ferreira NMR Spectroscopy Research Group Bijvoet Center for Biomolecular Research Utrecht University Bloembergen gebouw Padualaan 8, 3584 CH Utrecht The Netherlands P: +31.(0)30.253 9932 F: +31.(0)30.253 2652 E: n.l.ferreira@uu.nl W: http://nmr.chem.uu.nl ============================================= _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ferreira, N. L. (Nuno)
2009-Mar-24 10:37 UTC
Re: [Xen-users] How to run xen commands non root user
Check this link: http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch09_:_Linux_Users_and_Sudo N. Rajiv Rajaian wrote:> What configuration Ive to do for this sudo?? Will u please help me to > configure this ?? > > On Tue, Mar 24, 2009 at 10:22 AM, Mark Walkom <markwalkom@gmail.com> wrote: > >> You need to be root. >> But you can use sudo. >> >> 2009/3/24 Rajiv Rajaian <rajiv.grid@gmail.com> >> >>> Hi >>> I need to run xm command as non root user. I tried to run it as >>> non-root user I get the following error >>> >>> [rajiv@carecluster ~]$ xm info >>> ERROR Internal error: Could not obtain handle on privileged command >>> interface (13 = Permission denied) >>> Error: Most commands need root access. Please try again as root. >>> >>> Is it possible to execute xm command as non-root user?? Or only root >>> can do this?? >>> >>> Thanks /Regards >>> Rajiv.R'' >>> Project Associate >>> CARE >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >>> >> > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- =============================================Nuno Ricardo Santos Loureiro da Silva Ferreira NMR Spectroscopy Research Group Bijvoet Center for Biomolecular Research Utrecht University Bloembergen gebouw Padualaan 8, 3584 CH Utrecht The Netherlands P: +31.(0)30.253 9932 F: +31.(0)30.253 2652 E: n.l.ferreira@uu.nl W: http://nmr.chem.uu.nl ============================================= _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users