Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

jsearles

Martin,
U R absolutely correct. The fault is in my understanding of the Linux Home Directory feature. I'll have to do some reviewing. Thanks for your patience.

John
martin

jsearles wrote:

Of course, I do a useradd where I set the home dir (-d). Putty seems to honor this home dir. WinSCP seems not to.

But this does not restrict user to the directory, it just makes it the initial one. I guess that if you type "cd /" in the console, you would get to the root nevertheless.
jsearles

Of course, I do a useradd where I set the home dir (-d). Putty seems to honor this home dir. WinSCP seems not to.
martin

Anonymous wrote:

That's the problem. I do nothing different. I just give putty a UserId And PW and it shows only the home dir for that user. WinSCP shows much more.

But you have to do some setup on server-side to restrict user into his home directory.
Guest

That's the problem. I do nothing different. I just give putty a UserId And PW and it shows only the home dir for that user. WinSCP shows much more.
martin

Re: Too much visible in File manager window

How do you prevent your users to see the other directories with PuTTY?
jsearles

Too much visible in File manager window

Please note that I am new to remote access, so this may be a stupid question.

I set up a new user on my server. When I access it using WinSCP everything from the root directory down is shown and I am able to view many files including all files in /etc. It does not allow me to save the changes though.

From Putty, I only see the home dir. My assumption is that WInSCP would only show me the home dir for this user also. Please help.

Using ver 3.8 with SFTP.

J.