From owner-freebsd-questions@freebsd.org Sun Apr 9 19:30:53 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 065B2D36080 for ; Sun, 9 Apr 2017 19:30:53 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.20.71]) by mx1.freebsd.org (Postfix) with ESMTP id D45BDECD for ; Sun, 9 Apr 2017 19:30:52 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 73E91CB8C99; Sun, 9 Apr 2017 14:30:46 -0500 (CDT) Received: from 76.193.16.16 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Sun, 9 Apr 2017 14:30:46 -0500 (CDT) Message-ID: <61695.76.193.16.16.1491766246.squirrel@cosmo.uchicago.edu> In-Reply-To: <20170409212153.bfd97dd9.freebsd@edvax.de> References: <58EA7C59.3010608@gmail.com> <20170409212153.bfd97dd9.freebsd@edvax.de> Date: Sun, 9 Apr 2017 14:30:46 -0500 (CDT) Subject: Re: Unable to add self to group vboxusers From: "Valeri Galtsev" To: "Polytropon" Cc: "Manish Jain" , "freebsd-questions@freebsd.org" , "jd1008@gmail.com" Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Apr 2017 19:30:53 -0000 On Sun, April 9, 2017 2:21 pm, Polytropon wrote: > On Sun, 9 Apr 2017 18:30:33 +0000, Manish Jain wrote: >> On 04/09/17 23:54, JD wrote: >> > >> > >> > On 04/09/2017 12:04 PM, Manish Jain wrote: >> >> Hi, >> >> >> >> >> >> I am trying to run VirtualBVox under my under my system, a FreeBSD >> (p1) >> >> 11 amd64 box with a radeon R5 230 (Caicos) card. >> >> >> >> >> >> I did the following and rebooted : >> >> >> >> a) installed virtualbox-ose via pkg >> >> >> >> b) inserted vboxnet_enable="YES" in /etc/rc.conf >> >> >> >> c) added self to users vboxusers with : 'pw groupmod vboxusers -m >> ' >> >> >> >> d) added the following line to /etc/devfs.rules : >> >> >> >> add path 'usb/*' mode 0660 group operator >> >> >> >> Upon reboot, trying to run VirtualBox gets me : >> >> >> >> libGL error: MESA-LOADER: failed to retrieve device information >> >> libGL error: image driver extension not found >> >> libGL error: failed to load driver: radeon >> >> libGL error: failed to open drm device: Permission denied >> >> libGL error: failed to load driver: r600 >> >> Effective UID is not root (euid=1001 egid=1001 uid=1001 >> >> gid=1001) (rc=-10)

Please try reinstalling >> >> VirtualBox.

where: SUPR3HardenedMain >> >> what: 2 >> >> VERR_PERMISSION_DENIED (-10) - Permission denied. >> >> >> >> ^C >> >> >> >> >> >> When I run the groups command, I get different results based on >> >> effective UID : >> >> >> >> >> >> a) as root, when I run 'groups ', I spot vboxusers among the >> groups >> >> for >> >> >> >> b) as normal user, when I run groups I do not see vboxusers among my >> >> groups. >> >> >> >> >> >> I am therefore unable to run VirtualBox. What exactly could be the >> >> problem that leads me into vboxusers not being among my groups ? >> >> >> >> >> >> Thanks for any help >> >> >> >> Manish Jain >> >> >> > I do not know how you tried to add users to a group, but here is the >> > CLI command >> > $ sudo |usermod -a -G wheel >> > Unfortunately, the command only allows the addition of one user at a >> > time :( >> > >> >> Strangely, I do not seem to have the usermod command : >> >> bash: usermod: command not found > > It should probably be: > > $ sudo pw usermod -a -G wheel > > The "usermod" is a command option for the pw program; > see "man pw" for details. > > Or add /etc/group manually. :-) > And the change will not take effect until the user whose account is modified logs off the machine completely. Valeri > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++