From owner-freebsd-questions@freebsd.org Sun Apr 9 18:39:07 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 522B2D362DB for ; Sun, 9 Apr 2017 18:39:07 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-pf0-x231.google.com (mail-pf0-x231.google.com [IPv6:2607:f8b0:400e:c00::231]) (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 1848E884 for ; Sun, 9 Apr 2017 18:39:07 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-pf0-x231.google.com with SMTP id s16so23418973pfs.0 for ; Sun, 09 Apr 2017 11:39:07 -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=cY0DMgkS1Oq/kVzKHdLpVZs33TGEcv6kYXS9A0dxJwo=; b=jxeTUnSOjOZFm4/qkshF741LneLcwSIwskYmYkyPgkBP3fkJIouIHGDjWaIIWwiWIK KD0Y2tgsvV2ORm1caXHR5M/SSGuXwsZKGiKMI5s3Ic2wR2fexfN+raugm5kjk8KDj/92 NLCw+Dpwf7Bw/+ZKpmc2s2kzW0ePie32BABKuRGB//1ulLOog7f7uYCNiVyFW2s6NRpR FdWVa8i2DZeRuIT4bY6FCSxGTNJ6DnGUXqi5rJaACMI8EHjA7h73PDkBpoJgc1fQ2lQU 6kYQuoqhXNSkD3CQSNG0ll0R7DlPyYNNg4mJ1Myv55/5MeesTYgSQ3YZauXjpTsFPmbf vMdw== 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=cY0DMgkS1Oq/kVzKHdLpVZs33TGEcv6kYXS9A0dxJwo=; b=jO0znVoDlPmDY1jC+RUFrWTU4dxRxVDVGoS5sPLFQHIQblzehGtIQBLT69nYFSopVr 8FHyPTqvf0HpWEzH2K6nOItR6pfsUhcB9H9XWRoSYMov2vIP59W6Wk3SL+/wlqxFneSE x6QBlIp5GImlZDdpq2aP4m7lLEt87XPDSMNccKdmp6irYVCCl5yhGBv89YvZT9qwNDqG eaiU6gZbm4dTFmBzCcF8aLoQR3/bKkg1UISPl7T7V0z79KiUFZ7PgFyqNHwiUTEXhvlu QDwUrVi9BJW/n/3VSHziBNIfAqMRcoy9MlzTL3UDYY0KdZAt7KcMyVZOVBmy9huEeKqT ww7A== X-Gm-Message-State: AFeK/H1hcea9Rd0W0MY+pt/hpCm9OakYhrShGnaCxe7nAOwDQe131+uvLBkSVtjZ4GgAgQ== X-Received: by 10.84.218.68 with SMTP id f4mr63048006plm.146.1491763146630; Sun, 09 Apr 2017 11:39:06 -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 189sm20186641pgd.30.2017.04.09.11.39.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Apr 2017 11:39:06 -0700 (PDT) Subject: Re: Unable to add self to group vboxusers To: Manish Jain , "freebsd-questions@freebsd.org" References: <58EA7C59.3010608@gmail.com> From: JD Message-ID: <58EA7FC4.6030406@gmail.com> Date: Sun, 9 Apr 2017 12:39:00 -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: Content-Type: text/plain; charset=utf-8; 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:39:07 -0000 On 04/09/2017 12:30 PM, 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 > > > Thanks and Regards, > Manish Jain > Run sudo dnf -y install shadow-utils