Welcome to the Linux Foundation Forum!

Lab 13.5 - Persistent Network Mounts

In step 4 of the aforementioned lab exercise, when I try to do mount -a, it prompts me for a password, which doesn't seem to be mentioned at all in the lab instructions:

  1. Password for root@//localhost/mainexports:

I tried entering student as the password (as in the credentials in /root/smbfile) but got the following error:

  1. mount error(22): Invalid argument
  2. Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Alternatively, I tried entering my root password and leaving the password empty as well but got the same result, and man mount.cifs does not seem to mention about such a password. What should I enter for the password when prompted as above?

Comments

  • Posts: 380

    In step 13.4 we created a "smb password" for student. The user root does not have a smb password by default. Please note the passwords used with smb are not the Linux passwords. You must use smbpasswd command to set the password.

    Lee

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training