User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
add_a_user_to_an_existing_group [2016/01/15 16:17] – created ssm2017add_a_user_to_an_existing_group [2022/02/07 13:29] (current) – external edit 127.0.0.1
Line 1: Line 1:
 add the user named tony to the group named ftp add the user named tony to the group named ftp
  
-<code bash>+<sxh bash>
 usermod -a -G ftp tony usermod -a -G ftp tony
-</code>+</sxh>
  
 or or
  
-<code bash>+<sxh bash>
 addgroup tony ftp addgroup tony ftp
-</code>+</sxh>
  
 add the actually logged in user to the group ftp add the actually logged in user to the group ftp
  
-<code bash>+<sxh bash>
 sudo adduser `id -un` ftp sudo adduser `id -un` ftp
-</code>+</sxh>
  
 {{tag>cli debian}} {{tag>cli debian}}

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

More information