Forum Moderators: bakedjake
In windows explorer I can map a drive letter to the shared directory on the linux box via the ssh tunnel. All good so far.
The problem is that any files or directories created by this method show up as being created by the nobody user and the nobody group and in order to do this, I have to chmod the parent directory to 777.
Is there a way to make the samba share take on some other user name and hence make use of the permissions associated with that user. I dont think I should give the nobody user any more than the default permissions as I presume that this would compromise security.
I would prefer the samba user to take on the user name of the person who logged in with putty but anything other than nobody would be good.
Any suggestions
Regards, Frank
guest account (S)
This is a username which will be used for access to services
which are specified as guest ok (see below). Whatever privi-
leges this user has will be available to any client connecting
to the guest service. Typically this user will exist in the
password file, but will not have a valid login. The user account
"ftp" is often a good choice for this parameter. If a username
is specified in a given service, the specified username over-
rides this one.
One some systems the default guest account "nobody" may not be
able to print. Use another account in this case. You should test
this by trying to log in as your guest user (perhaps by using
the su - command) and trying to print using the system print
command such as lpr(1) or lp(1).
Default: specified at compile time, usually "nobody"
Example: guest account = ftp
The other method is to actually map your user accounts to a local *NIX account. I don't remember the way of doing this, but it's well documented.
Try something along those lines. :)
MM