User Tools

Site Tools


add_new_raspbian_user

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
add_new_raspbian_user [2016/07/25 07:50] walkeradminadd_new_raspbian_user [2023/03/09 22:35] (current) – external edit 127.0.0.1
Line 7: Line 7:
 \\  \\ 
         awk -F":" '{ print "username: " $1 "\t\tuid:" $3 }' /etc/passwd         awk -F":" '{ print "username: " $1 "\t\tuid:" $3 }' /etc/passwd
-\\  
-\\  
-        THIS SECTION IS NOT YET FINISHED!!!!!!!!!! 
-\\  
-\\  
-\\  
 \\  \\ 
 \\  \\ 
Line 53: Line 47:
 You can check the user has been added to correct groups by using the command groups newuser again.\\  You can check the user has been added to correct groups by using the command groups newuser again.\\ 
 \\  \\ 
-Deleting a user and removing a user from a group\\  
-\\  
-If you want to remove a user from a group you can use the following command:\\  
-\\  
-        sudo deluser <username> <groupname> 
-\\  
-So to remove user 'newuser' from the group 'adm' you would type:\\  
-\\  
-        sudo deluser newuser adm 
 \\  \\ 
-A similar command can be used to delete an entire user along with it's home directory:\\ +        The information on this page originated from: 
 +        [[http://www.modmypi.com/blog/how-to-add-new-users-and-add-users-to-groups]]
 \\  \\ 
-        sudo deluser <username> 
 \\  \\ 
- 
-[[http://www.modmypi.com/blog/how-to-add-new-users-and-add-users-to-groups]] 
- 
- alias userlist='cat /etc/passwd |grep "/bin/bash" |grep "[5-9][0-9][0-9]" |cut -d: -f1' 
  
add_new_raspbian_user.1469429436.txt.gz · Last modified: 2023/03/09 22:35 (external edit)