add_new_raspbian_user
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| add_new_raspbian_user [2016/07/24 21:14] – created walkeradmin | add_new_raspbian_user [2016/07/25 06:55] (current) – walkeradmin | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| \\ | \\ | ||
| \\ | \\ | ||
| + | If multiple people are using the same raspberry pi you may want to add new users so each person has their own user account.\\ | ||
| + | \\ | ||
| + | Adding a new user is simple enough, the following method was done whilst logged in as the default user ' | ||
| + | \\ | ||
| + | For this example we will create a new user called ' | ||
| + | \\ | ||
| + | sudo adduser newuser | ||
| + | \\ | ||
| + | This will create a new user along with a group ' | ||
| + | \\ | ||
| + | sudo passwd newuser | ||
| + | \\ | ||
| + | In order for the user to have the same privileges as the default account ' | ||
| + | \\ | ||
| + | groups pi | ||
| + | \\ | ||
| + | You can see pi belongs to several groups such as ' | ||
| + | \\ | ||
| + | Do the same for the ' | ||
| + | \\ | ||
| + | groups newuser | ||
| + | \\ | ||
| + | You'll see it only belongs to one group ' | ||
| + | \\ | ||
| + | We need to add new user to the same groups as the user ' | ||
| + | \\ | ||
| + | To add a user to a group we use the command: | ||
| + | \\ | ||
| + | sudo adduser < | ||
| + | \\ | ||
| + | So to add ' | ||
| + | \\ | ||
| + | sudo adduser newuser dialout | ||
| + | \\ | ||
| + | Now repeat this step for all the remaining groups apart from the group ' | ||
| + | \\ | ||
| + | You can check the user has been added to correct groups by using the command groups newuser again.\\ | ||
| + | \\ | ||
| + | \\ | ||
| + | The information on this page originated from: | ||
| + | [[http:// | ||
| + | \\ | ||
| + | \\ | ||
| + | |||
add_new_raspbian_user.1469394873.txt.gz · Last modified: (external edit)
