Sharing Login Information

Asked 1 years ago, Updated 1 years ago, 40 views

We are thinking of opening a small programming class.
I would like to have one classroom in my LAN as follows:

  • Student PCs should be 4 PC_A to PC_D.
  • PC_A to PC_D include CentOS 7.
  • PC_A to PC_D share login information.
    In other words, a student used PC_A this time, but next time he will use PC_B. Set up your account in one go.
  • PC_A to PC_D share the student's home directory.
    This means that any PC can access the same home directory.
  • The home directory of the above shares should be mounted on one of the hard drives PC_A to PC_D, or
    Or provide shared storage separately.

What technology should be used to create such a system?
You can use the software or a hint keyword, so
Please let me know.

By the way, it was a long time ago, but the laboratory of the university looked like the one above.
It's been a long time, so I think the technology you need to use is different.

linux centos network

2022-09-29 21:39

2 Answers

If you include detailed settings, it will be longer, so please give me information that there is a way like this.

Sharing Account Information

NIS can be used.You configure one server role to manage account information, and other clients authenticate by referring to the NIS server when they log in.

Sharing Home Directory

NFS+automount will do this as well.NFS shares a file system across the network, so clients can just mount it and treat it like a local file system.Automount automatically mounts the target directory when it is accessed.

In your environment, for example, set PC_A to be the server role and manage accounts on the NIS server, and /home to be visible to other clients in NFS sharing.From the rest of your PCs, you should refer to PC_A in an appropriate way.


2022-09-29 21:39

If it's an old-fashioned way, I think Linux servers and X devices are fine.

A more modern way would be to connect the Thin client to a Linux Terminal Server Project (LTSP) server.

The former requires each client to have an operating system installed and configured, but LTSP boots over the network using the server-side boot image, making it easier to handle increasing or decreasing number of clients.

In either case, there is no need to store data on the client side, and user accounts are managed on the server side, so there is no need to share it between clients.


2022-09-29 21:39

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.