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


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to