You are not logged in.

#1 2018-07-21 23:13:04

bushy3
Member
Registered: 2017-06-09
Posts: 20

Multiple users----SOLVED

Can multiple users work on a laptop using bunsenlabs?

Last edited by bushy3 (2018-07-22 16:12:11)

Offline

#2 2018-07-22 05:03:38

nore
>2⁹
From: squirrels' nest
Registered: 2015-09-29
Posts: 537

Re: Multiple users----SOLVED

Yes.

sudo adduser blahblahblah

Offline

#3 2018-07-22 13:43:42

bushy3
Member
Registered: 2017-06-09
Posts: 20

Re: Multiple users----SOLVED

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

#4 2018-07-22 14:05:36

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,901

Re: Multiple users----SOLVED

bushy3 wrote:

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

#5 2018-07-22 15:34:21

bushy3
Member
Registered: 2017-06-09
Posts: 20

Re: Multiple users----SOLVED

Thanks for the additional information, I will delete the current newuser and try it again using "adduser"

Offline

#6 2018-07-22 16:13:09

bushy3
Member
Registered: 2017-06-09
Posts: 20

Re: Multiple users----SOLVED

ADDUSER was the perfect solution, Thanks for the suggestion.

Offline

#7 2018-07-22 16:46:49

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,901

Re: Multiple users----SOLVED

bushy3 wrote:

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

Board footer

Powered by FluxBB