0

Hi all and thank you in advance

Let's suppose that the script is correct

vi /loginnas.sh

echo -n 'Username: '
read username

echo -n 'Password: '
read -s password 

mount_smbfs //$username:$password@server/share mountpoint

chmod +x loginscript.sh

I execute it and I connect a network share after be prompted for credentials.

How can I be prompted for credentials in the UI way ??

really thanks for your help best regards

other script that didn't do it

YLR
  • 1,503
  • 4
  • 21
  • 28
lp14190
  • 1
  • 2
  • really thanks for the replies .. but i don't know how to use it, can u suggest me literely what i have to write ..where and how ? :) sorry to bother you maybe – lp14190 Feb 22 '23 at 07:15

0 Answers0