On Friday 24 September 2004 23:15, W. D. wrote:> Hi Folks,
>
> Got Samba 3.0.7,1 running on FreeBSD--yippee!
>
> One thing that I noticed is that when a Windows
> user clicks on his folder named something like
> 'username', there are a bunch of files there
> that he might 'accidently' delete:
>
> .cshrc
> .login
> .login_conf
> .mail_aliases
> .mailrc
> .profile
> .rhosts
> .shrc
>
> Is there some way to automatically log on the
> user to folder just below 'username' named
> something like 'username-folder'? That way
> there would be a lot smaller chance that those
> configuration files might dissapear.
My network solution is:
[homes]
comment = User SMB Homes
path = /home/users/%U/Documents
valid users = %S
read only = No
browseable = No
No-one gets to the root of their home directory.
- John T.
>
> I guess the logon script could be something as
> simple as:
>
> cd %u-folder
>
> Where would I put it? What would it be called?
>
> Thank you so kindly for your assistance!
>
>
>
> Start Here to Find It Fast!? ->
> http://www.US-Webmasters.com/best-start-page/ $8.77 Domain Names ->
> http://domains.us-webmasters.com/
--
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668
Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
OpenLDAP by Example, ISBN: 0131488732
Other books in production.