diff options
author | pst <pst@FreeBSD.org> | 1997-05-23 00:14:27 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1997-05-23 00:14:27 +0000 |
commit | 775010bf1c7f42ef589dd894c60cf56c77099201 (patch) | |
tree | 4a3627a91f9502e7b3d2e020e02fe7fa90ba7252 /usr.bin/login/login.c | |
parent | cc349843cc6e2c032a25b041d20cbb5fadb0c1b8 (diff) | |
download | FreeBSD-src-775010bf1c7f42ef589dd894c60cf56c77099201.zip FreeBSD-src-775010bf1c7f42ef589dd894c60cf56c77099201.tar.gz |
Restore backwards compatible default behavior for requirehome
Diffstat (limited to 'usr.bin/login/login.c')
-rw-r--r-- | usr.bin/login/login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/login/login.c b/usr.bin/login/login.c index b69892e..77edbbf 100644 --- a/usr.bin/login/login.c +++ b/usr.bin/login/login.c @@ -532,7 +532,7 @@ main(argc, argv) #endif if (!*pwd->pw_dir || chdir(pwd->pw_dir) < 0) { #ifdef LOGIN_CAP - if (login_getcapbool(lc, "requirehome", !rootlogin)) + if (login_getcapbool(lc, "requirehome", 0)) refused("Home directory not available", "HOMEDIR", 1); #endif if (chdir("/") < 0) |