Jump to content

Photo

enable shutdown from Start menu


  • Please log in to reply
4 replies to this topic

#1 banjoman

banjoman

    Member

  • Members
  • 12 posts

Posted 04 April 2017 - 06:59 PM

I am experimenting with adding users via terminal (as Bodhi does not have all GUI facilities that full Ubuntu install has). I cannot enable the shutdown/restart buttons enabled for a new user account, they are greyed out.

 

I have tried sudo adduser <account name> sudo, but that does not do it. Maybe that is not the crucial command.....





A big thank you to everyone who contributes to Bodhi Linux


#2 Charles@Bodhi

Charles@Bodhi

    Old Faithful

  • Moderators
  • 4560 posts
  • LocationZeist, The Netherlands

Posted 04 April 2017 - 07:29 PM

As default user run the following commands:

id # shows the groups you are a member of
id <otheruser> # shows the groups the other user is member of
sudo usermod -a -G <groupname> <username>

The last command makes the username part of the groupname by adding the groupname to his account settings. Don't forget to use the -a option in that command as without it all existing groups he was member off will be wiped. (the -a stands for add)

 

Warning: adding the sudo group to this account will give him full power over the computer. You should test if adding another groupmembership will be enough for shutdown/reboot. Can't advice you there.

 

Enjoy,

Charles



#3 ylee

ylee

    King of the Software Page

  • Moderators
  • 1577 posts
  • LocationSouth Carolina, USA

Posted 04 April 2017 - 08:56 PM

I am experimenting with adding users via terminal (as Bodhi does not have all GUI facilities that full Ubuntu install has). I cannot enable the shutdown/restart buttons enabled for a new user account, they are greyed out.

 

I have tried sudo adduser <account name> sudo, but that does not do it. Maybe that is not the crucial command.....

 

Add your user to the group adm should do it


"No technology can ever be too arcane or complicated for the black t-shirt crowd."


#4 graywizardlinux

graywizardlinux

    Bodhi Supporter

  • Members
  • 1061 posts

Posted 05 April 2017 - 12:36 AM

great but way beyond me.  i was wondering how to do this... i thought it was built into bodhi.

anyway that could be a part of it automatically????



#5 sef

sef

    Bodhi Builder Wizard

  • Developer
  • 320 posts
  • LocationATL

Posted 05 April 2017 - 03:09 PM

great but way beyond me.  i was wondering how to do this... i thought it was built into bodhi.

anyway that could be a part of it automatically????

 

You can add groups to newly created users by editing the following line in the file /etc/adduser.conf

#EXTRA_GROUPS="dialout cdrom floppy audio video plugdev users"

There are other options in that file as well.


Forum Rules (link)

---------------------------------------------------

Nothing is as simple as it seems at first, or as hopeless as it seems in the middle,

or as finished as it seems in the end.

---------------------------------------------------

"That's not how the force works..."





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users