kwlam Posted March 27, 2006 Report Share Posted March 27, 2006 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] Quote Link to comment Share on other sites More sharing options...
polemicz Posted March 27, 2006 Report Share Posted March 27, 2006 The command you want is smbpasswd. Check man smbpasswd for all the options. Quote Link to comment Share on other sites More sharing options...
kwlam Posted March 27, 2006 Author Report Share Posted March 27, 2006 In fact, I am not good at the command mode and all I want to use is the samaba. What is the problem? I can do it in a previous version. Can you tell me how to create the samba password? Quote Link to comment Share on other sites More sharing options...
aioshin Posted March 27, 2006 Report Share Posted March 27, 2006 (edited) 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 March 27, 2006 by aioshin Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.