Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I was curious if anyone knew how to change samba password from windows client instead of changing passwords in the ubuntu machine?
Is there a way if i change my windows log in password the samba password will also automatically change or the windows client can somehow change the samba password instead of doing it from the ubuntu machine.
Thanks. Im just curious, when I looked it up it said change username to servername/user. If i do that then I can still access my desktop and local hard drive as usual yes? Or I would only start seeing the ubuntu machine with me logged into it?
Also should I be logged into the ubuntu machine before I do the change password?
as far as I know when you enter server/user (or server\user) windows will try to contact server and will try to change user on that server, so your local (windows) account will not be affected. You should not logged into ubuntu to be able to change your password. Your ubuntu machine (the shares) will be seen depending on the samba configuration and the mapped network drive status.
If I remember well windows can remember one password, so sometimes it can send your windows password to the samba server for authentication and you can therefore automatically map the samba drive (in case the two passwords are the same).
Hope this helps.
Thanks Pan. I did some tests and found out that whatever username and password i put in smbpasswd thats what i have to use through windows client. example
if i have windows computer (computer name: COMP) with username: ABC and passwd: 123 and if i save in smbpasswd username: DEF and passwd: 456. I can go to computer COMP and instead of putting ABC and 123, i put DEF and 456 and i was able to log in.
So windows username and passwd is meaningless because whatever i save in smbpasswd is whats taken. Is it true?
It depends on the configuration. In a domain environment you will have only one user/pw for all resources, so yes, you will be able to login to windows and mount samba drives with the same user/pw. The samba server can act also as a domain controller (and a windows server can do it also). This should be configured and not only the users but the machines must join to the domain.
From the other side it can work without domains as individual hosts and local authentication. In that case you will have different user/pw on windows and samba server (they may or may not be identical). Windows can remember the user/pw entered at login and can send it to authenticate the current user to access a remote site's share.
You can use smbpasswd or windows to change password in a domain environment, that should do the same. Also you may change the samba passwd from windows or windows pw from samba (without domain), but those remain two different accounts.
Would be better if you can show us the samba config file and the commands what you have executed...
My goal is this:
Windows user can access ubuntu box from windows machine and change there password to whatever they want. That way i dont have to know their passwords.
What should my configuration be to achieve this?
Note that these users don't have any home directories in ubuntu. It has just one home directory for admin. The ubuntu box has an additional internal drive that is used for file sharing. So i prefer the users to access this internal drive (which is mapped in network) after logging in with username and password and i want to give them the flexibility to change their password to log into ubuntu anytime they want from their windows machine.