Many Unix accounts to one samba account

William Knox wknox at
Thu Jan 27 11:59:04 GMT 2000

If you use encrypted passwords, you can set up a script to change the
password of one of the teachers and then duplicate that encrypted
password (actually, those two encrypted passwords) in the smbpasswd file
for all 200 teachers. Let me know if this works for you.

On a side note, I wouldn't recommend sending the passwords out by e-mail
- you are going to have to encourage those teachers to be responsible
about the password in the face of maybe a student or two trying to
obtain it in order to change their attendance record, and sending it out
via e-mail sets a bad example. Just my two cents.

Good luck!

			Bill Knox
			Operating Systems Programmer/Analyst
			The MITRE Corporation

Daniel Nilsson wrote:
> Hi Folks.
> I have set up a samba server on a machine running Linux 6.1 and it works
> perfectly. But i have a problem :
> Approx. 200 teachers are going to register the students absence,
> and I don't want them to have one password each. ( You know teachers and passwords )..   :-)
> I thought I could change the Samba password once per month and deliver it to the teachers by e-mail.
> But I dont want them all to log in using the same username either, so my question is:
> How can i have 200 different Unix accounts and allow them all to mount a volume
> with one Samba password ?
> //Daniel Nilsson
> Gislaveds Gymnasium

More information about the samba mailing list