Jump to content

smbpasswd password


phunni
 Share

Recommended Posts

I am trying to reconnect my network after installing 9.1 and setting up samba again. so far, so good, but how do I set the password for a remote user? I tried using smbpasswd <new password> but I was asked for the old password - which I don't know! Is there any way of figuring this out?

Link to comment
Share on other sites

Do you have webmin installed?

 

If so open it up in a browser. https://localhost:10000/ or the ip of the box if you are accessing it from another box

 

Server tag -> samba -> edit samba users and passwords

 

See if the user name you want is listed there, if so click it and you can change the password here.

Link to comment
Share on other sites

Guest Daniel

to add or change a password via samba

 

su

 

smbpasswd -a "username"

 

also at a prompt type $ smbpasswd --help

you will get the switch to use.

 

cheers

Daniel

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...