Jump to content

samba password


Recommended Posts

I am using mandriva 2005. I want to set samba password. In the console, I type with root:

cat /etc/passwd | mksmbpasswd.sh> /etc/samba/smbpasswd

However, it showed

bash: mksmbpasswd.sh: command not found

 

In fact, I succeeded with previous version of mandrake.

 

What is the problem? Can you help me?

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

if you have a user named kwlam on that box, then you can just do the command:

smbpasswd -a kwlam
New SMB password:
Retype new SMB password:

though I think its better to have that script that will import all the system users to smbpasswd file, but might be that the script is not supported anymore (am not sure really) so manually you can add those users to smbpasswd file by that command, or #smbpasswd --help for more options

Edited by aioshin
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...