From: "Eve Atley" <eatley@wowcorp.com>
To: Stephen Samuel <samuel@bcgreen.com>
Cc: Linux-Newbie <linux-newbie@vger.kernel.org>
Subject: RE: How to hide . folders (resolved)
Date: Tue, 10 Aug 2004 14:16:22 -0400 [thread overview]
Message-ID: <GNEPLLCIIBHICCOGIAKPGEJMDCAA.eatley@wowcorp.com> (raw)
In-Reply-To: <41147088.9050803@bcgreen.com>
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
prev parent reply other threads:[~2004-08-10 18:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-05 20:06 How to hide . folders Eve Atley
2004-08-05 22:15 ` Ken Moffat
2004-08-06 1:56 ` Eve Atley
2004-08-06 8:13 ` Ken Moffat
[not found] ` <Pine.LNX.4.58.0408060856370.23328@ppg_penguin.kenmoffat.uk linux.net>
2004-08-06 15:55 ` Ray Olszewski
2004-08-07 6:02 ` Stephen Samuel
2004-08-10 18:16 ` Eve Atley [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=GNEPLLCIIBHICCOGIAKPGEJMDCAA.eatley@wowcorp.com \
--to=eatley@wowcorp.com \
--cc=linux-newbie@vger.kernel.org \
--cc=samuel@bcgreen.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox