You are not logged in.
Pages: 1
Can multiple users work on a laptop using bunsenlabs?
Last edited by bushy3 (2018-07-22 16:12:11)
Offline
Yes.
sudo adduser blahblahblah
Offline
useradd must not be the whole story.
I created a user using "useradd" and followed with "passwd"
I logged out and tested, the login screen showed the original and new user. Logging in as the new user seemed like it would work,the password was accepted the screen changed as if I was going to a desktop and then I was back at the login screen.
I did some digging and found there wasn't a /home/newuser directory created. It was my understanding that "useradd" would created the complete environment for the newly added user but this didn't happen
Offline
useradd must not be the whole story.
I created a user using "useradd" and followed with "passwd"
I logged out and tested, the login screen showed the original and new user. Logging in as the new user seemed like it would work,the password was accepted the screen changed as if I was going to a desktop and then I was back at the login screen.I did some digging and found there wasn't a /home/newuser directory created. It was my understanding that "useradd" would created the complete environment for the newly added user but this didn't happen
Useradd just creates the user account but does not set up the user's home directory, group memberships (other than the user's own group) and initial settings without switches/arguments.
For debian, the adduser command is better as it prompts for all the information then performs setting up the home directory and initial group memberships plus setting up the default user environment.
Real Men Use Linux
Offline
Thanks for the additional information, I will delete the current newuser and try it again using "adduser"
Offline
ADDUSER was the perfect solution, Thanks for the suggestion.
Offline
ADDUSER was the perfect solution, Thanks for the suggestion.
And to remove a user use 'deluser' (without the quotes of course).
Last edited by DeepDayze (2018-07-22 16:47:46)
Real Men Use Linux
Offline
Pages: 1