22 Apr
2024
22 Apr
'24
16:10
Am Mon, 22 Apr 2024 16:00:11 +0000
schrieb Bernd Lentes
Servus, Hallo,
gibt es eine Möglichkeit, ein CIFS Share beim Booten automatisch zu mounten, ohne irgendwo das Passwort im Klartext zu hinterlegen ?
Ich habe mir dafür ein "credentials"-File angelegt. Siehe "man mount.cifs" dazu: credentials=filename|cred=filename specifies a file that contains a username and/or password and optionally the name of the workgroup. The format of the file is: username=value password=value domain=value This is preferred over having passwords in plaintext in a shared file, such as /etc/fstab . Be sure to protect any credentials file properly.
Danke !
Bernd
Gerne :-) Reni