Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
where is the smbpasswd configuration file located. i have searched it with google. Somebody explains that the smb passord is store in the file /etc/samba/smbpasswd.
However, on my Fedora 9, the /etc/samba/smbpasswd file does not exists, but the samba password system works well. Why does this happen? Is the password stored in other files?
/usr/bin/smbpasswd is the command to give your users samba passwords. You manually create the file. Then when you issue the command the passwords are stored in the password file.
I had used the following command to find the file smbpasswd.
Code:
find / -name smbpasswd
The output of the command is
Code:
/usr/bin/smbpasswd
I count not find the smbpasswd file. But the samba password system works fine. Why it happens?
Look at your '/etc/samba/smb.conf' to see where your password file is stored.
Sorry about my file specification error, it should have shown the '/etc/samba/smbpasswd_file'. I did note after that you should look at the '/etc/samba/smb.conf' to see where the file is stored and the name.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.