Skip to content
tech.tutulutu.ee
Simple Blog about Tech – written for myself. Use with caution.
  • Home
  • Links
linux

Linux – add existing user to existing group

Posted May 14, 2016 , Updated April 5, 2017
sudo usermod -a -G groupName userName

To carry into effect new rights of the user, you have to logout and login.
If you want to remove user from group:

sudo deluser userName groupName

Thanks to: http://askubuntu.com/questions/79565/add-user-to-existing-group

command line, linux

Post navigation

Older post
Begin Angularjs/Bootstrap project on Ubuntu 14.04
Newer post
Command ‘find’ on linux

Recent Posts

  • What takes room in my linux machine
  • PHP ternary logic
  • PHP – find out if variable is set
  • compose.yaml
  • Flush DNS in computer

Categories

  • Angularjs
  • apache
  • Atom
  • aws
  • bootstrap
  • command-line
  • css
  • docker
  • firefox
  • Git
  • gmail
  • https
  • Java
  • jQuery
  • LAN
  • laravel
  • linux
  • music
  • MySQL
  • network
  • nginx
  • nodejs
  • npm
  • php
  • phpunit
  • printers
  • Python
  • Sailsjs
  • sql
  • ssh
  • SSL and HTTPS
  • thunderbird
  • Uncategorized
  • vim
  • web
  • woocommerce
  • wordpress

Tags

add user angularjs apache atom aws bootstrap browser command line composer css dns docker dpkg find find file firefox gedit htaccess html htpasswd https install soft ip java laravel linux music mysql network nginx npm php phpunit port proxy rsync s3cmd scp server ssh thunderbird ubuntu visudo woocommerce wordpress
© 2026 tech.tutulutu.ee
Powered by WordPress | Theme: Graphy by Themegraphy