From owner-freebsd-questions@freebsd.org Sun Apr 9 18:25:57 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 0B3AAD36C7E for ; Sun, 9 Apr 2017 18:25:57 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-pg0-x22e.google.com (mail-pg0-x22e.google.com [IPv6:2607:f8b0:400e:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CF56FC9C for ; Sun, 9 Apr 2017 18:25:56 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-pg0-x22e.google.com with SMTP id 81so94996546pgh.2 for ; Sun, 09 Apr 2017 11:25:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=tN/KVxu6OOWe+7NiTL2mjXZyxqvJoVSAs+yOVEyr2xY=; b=jC1LvNCTsi54gXWFCQ4faa5uOlk1BSy/jEyIHI6sCgs7dXkt8+lNu74oB9vMTbYUTR RIy7fgkYVZ/69eCNNdNJ5rQ9mezNrefw4WcvwghzSk+m7turjrUe/SQ9v3TDy0lt1ybW O9nd4aY8MDe1QkaNyVqblazG/WbWvpPs2k2MY4BBijdobrBgsaFECtV/MU48FR8BOvih Q4RZUJtJrS7t0c28KflUsjnNNMkOgvOZbnGNh0uanSXBbcR4Q1HMRyf877SW0B0Vm+AZ P1c00yrDIple0aJXaFCIeGB7Ldil7oo4AJZJTEUIZyTEVsJwaZQrnNeEYIN1szMXVRZQ JZcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=tN/KVxu6OOWe+7NiTL2mjXZyxqvJoVSAs+yOVEyr2xY=; b=LPcnQA2ZhK/kr+Q8yeyzt+xSRbOuEmCln/sJIvIU4rScvIgjGh/STADmMz+kuiIowj fn34gYvf41chE506epNhD1InryAQYgSVPaS0r0VYg5g5Y64BCTrYCrFpjeE4dZf/CpMJ Fk36CBtpCyv8+TFHGVOKjwRgIB+DDyRzaYNv2SWISkTZfrC3O2QWQvzo9kchSRPx15gr bpdTivHtHmpxM5dUpf5P6GRQ3RfPLO3SVUQbdhpQG5MJqRfZPs3KUzMWguFxgO1npMmk AxGToFTYpkuFHb7tg3ilcWxQSGk+zv/s184K9WD6o6TGZUrLFP/zY9ZTy36OMn4Mc8Lz W2ZA== X-Gm-Message-State: AFeK/H32oBWHPpWjtUmhiHxZl75/pjlvYx8Bpq5dnQeO5ANz+uPj3RIik/4JkAdvkjSXiw== X-Received: by 10.98.96.65 with SMTP id u62mr50393784pfb.219.1491762356275; Sun, 09 Apr 2017 11:25:56 -0700 (PDT) Received: from localhost.localdomain (50-243-4-3-static.hfc.comcastbusiness.net. [50.243.4.3]) by smtp.googlemail.com with ESMTPSA id o10sm20263611pgc.18.2017.04.09.11.25.55 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Apr 2017 11:25:55 -0700 (PDT) Subject: Re: Unable to add self to group vboxusers To: freebsd-questions@freebsd.org References: <58EA7C59.3010608@gmail.com> From: JD Message-ID: <58EA7CB3.7070907@gmail.com> Date: Sun, 9 Apr 2017 12:25:55 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <58EA7C59.3010608@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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 18:25:57 -0000 On 04/09/2017 12:24 PM, 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 :( > > > | I forgot to say "for example"! So do not use the group name wheel unless that is your intent :)