- sudo apt install autofs
- sudo vi /etc/auto.master, then uncomment the /net line:
# NOTE: mounts done from a hosts map will be mounted with the
# "nosuid" and "nodev" options unless the "suid" and "dev"
# options are explicitly given.
#
/net -hosts
- sudo mkdir /net
- sudo systemctl restart autofs
- ls /net/server/home/user
Aucun commentaire:
Enregistrer un commentaire