On 17 March 2016 at 14:50, Ranjan Maitra <maitra.mbox.igno...@inbox.com> wrote:
> On Thu, 17 Mar 2016 11:21:20 +0100 Sjoerd Mullender <sjo...@acm.org> wrote:
>
>> On 17/03/16 03:28, Ranjan Maitra wrote:
>> > Hello,
>> >
>> > I have been trying to install Cyanogenmod on a Samsung Galaxy Nexus using 
>> > Fedora 23. According to the documentation available at 
>> > http://wiki.cyanogenmod.org/w/Install_CM_for_maguro I have to use adb and 
>> > fastboot which are available on fedora under android-tools. So, all of it 
>> > is downloaded without a hitch, but I can not get adb or fastboot to 
>> > "work". Reading on, I have tried the workarounds proposed, to no avail. It 
>> > appears that I need to add my username to a group plugdev but there is no 
>> > group by that name. I tried using
>> >
>> > sudo groupadd plugdev
>> >
>> > and that did add the group. Next, I tried:
>> >
>> > sudo gpasswd -a username plugdev
>> >
>> > as per http://wiki.cyanogenmod.org/w/UDEV
>> >
>> > with my username in place but still:
>> >
>> > $ groups
>> > username wheel
>> >
>> > However, system-config-users indicates that the group plugdev is checked.
>> >
>> > Needless to say, I have come to a halt. Is there any workaround (or even a 
>> > better approach using Fedora) for this task?
>> >
>> > Many thanks and best wishes,
>>
>> Logout and back in.  Groups are initialized on login.
>
> Thanks! Btw, this next question is more general: is there any other option 
> other than logout and log back in to initialize groups? (I really do not 
> always want to logout and log back in.)
>

They're picked up at login. For your desktop environment that counts
as when you log in to the desktop. Your console windows will generally
be set to not start as a login shell, so they get whatever groups you
had when you started the desktop. It can be changed within a login
window by starting a new login, either by running "login" or "su -
USERNAMEHERE", or you can alter your terminal program settings to
start new windows as a new login.
http://superuser.com/questions/272061/reload-a-linux-users-group-assignments-without-logging-out
seems to suggest it might be possible without doing a login, but none
of those suggestions look very reliable (maybe newgrp if it works).


-- 
imalone
http://ibmalone.blogspot.co.uk
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to