RE: How to hide . folders (resolved)

Eve Atley
2004-08-10T18:16:22Z

Just wanted to update folks on my solution to this problem of wanting to
hide all but necessary folders to users logging in via an SSH GUI!

What got me started in the right direction was sorting out permissions and
finding out more about the sticky bit.

What eventually fixed my issue for this situation was adding a user like so:
useradd -M -d /home/shared/ [username] -p [password]

The scenario in this case was to dump a user upon login to a particular
directory, but NOT create any extraneous folders. -M eliminates the need for
all those folders to be created in the first place. -d starts them out in
the folder I request (in this case /home/shared). It appears to create a
bash-history only, but I really don't mind if someone accidentally deletes
this one, since these are logins from a GUI.

Thanks to all,
Eve