• We did not send an email asking for donations - please read this post.

Multi-User login to one machine?

Stevenjwilliams83

New Member
Joined
Mar 3, 2020
Messages
2
Reaction score
0
Credits
0
How are others handling multi-user logins to the same machine? How do you give multi-people high level access (similar to root) without actually giving them root user/password? Or how can you manage multi-users so they all essentially login as the same user but use private key authentication? or MFA?
 


VP9KS

Well-Known Member
Joined
Apr 29, 2017
Messages
781
Reaction score
752
Credits
1,491
Which version of Linux are you using, mate? Is it mint cinnamon, Mint mate, etc?
Oh, by the way, welcome to the group!

Happy Trails,
Paul
 

dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
1,574
Reaction score
1,192
Credits
10,075
answer 1.
sudo is how you people higher privileges without root password.



answer 2.
You can use ssh-keygen to create ssh key pairs. This makes a private key and a public key.
You always keep the private key... ummm... private on your local computer.

normally every user has a .ssh directory in their home directory.
you can create a file called authorized_keys (it may already exist)

You can paste the public keys into this file.

This way, many people can login as the same user, but they will have different public keys
to identify who is actually logged in.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Staff online


Top