time dependent login
Randal Schwartz
merlyn at iwarp.intel.com
Tue Jun 12 01:40:10 AEST 1990
In article <234 at rossignol.Princeton.EDU>, tr at samadams (Tom Reingold) writes:
| In article <1990Jun6.081403.10065 at hawkmoon.MN.ORG> det at hawkmoon.MN.ORG
| (Derek E. Terveer) writes:
|
| $ On sun os systems, which are bsd derivitives, if a user attempts to login
| $ without a home directory, they *are* allowed to login and are plopped into
| $ "/", i.e., root.
|
| That's not the point. I think you are responding to someone whose
| suggestion was to make the home directory owned by root and
| *unreadable* and *unwritable* to the user. The question is, would
| *this* prevent a login?
I think <det> answered that, as in "it wouldn't matter". If you
cannot cd to your home directory (as denoted in /etc/passwd), you get
"/". If you *can* cd there, it doesn't matter that you cannot read
it. I can spend *weeks* logged in without ever writing into my home
directory, so making it unreadable and unwritable is ineffective. If
necessary, I'd just "setenv HOME /tmp", to keep the programs that want
to write into the home directory happy.
Just another UNIX hacker,
--
/=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\
| on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III |
| merlyn at iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn |
\=Cute Quote: "Welcome to Portland, Oregon, home of the California Raisins!"=/
More information about the Comp.unix.wizards
mailing list