[LBo] Samba question
Stefan Waidele jun.
Stefan at Waidele.info
Fri Jun 9 10:09:38 CEST 2006
Hi Tim,
Tim wrote:
> [...]
> But now I need to setup a third share that is only accessible to my wifes PC
> (XP Pro) and on a `on demand' basis and with a different user name and
> password
To restrict the connecting machines, you could:
* use the "host allow" option in smb.conf
* insert a %m into the share's path, to include the client-machine's
netbios name /share/samba/%m/mom would then translate to
/share/samba/momspc/mom on the "right" PC and to /share/samba/kidspc/mom
(and thus another directory or "not found") on the "wrong" PCs
* The same is available by IP-adress %I
I did not find an "allow user" option in the documentation. I think that
might be my mistake...
But you can set the unix-permissions in a way that only the
"supermom"-user can access them.
> than the users uses for logging on. My daughter and son use the
> wifes PC (and know her username and password) and don't want them to have
> access to this folder.
Don't connect to the share automatically, and (most important) don't
save the password. Then you (and your wife) should be fine.
HTH,
Stefan
--
http://LinuxBasics.org
http://Stefan.Waidele.info
http://Krone-Neuenburg.de
More information about the QnA
mailing list