Subject: Re: bin set to 700 - no user logins... why?
To: None <netbsd-users@NetBSD.org>
From: Christian Biere <christianbiere@gmx.de>
List: netbsd-users
Date: 05/22/2004 18:14:43
--MGYHOYXEY6WxJCY8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

> I was adding users recently, using pdbedit from samba as well,

Real (humanoid) users or virtual users (for daemons and such)?

> and setting the permissions of their home directories.

> I tried to login and was getting login: /bin/ksh permission denied
> /bin
> /usr/bin
> /usr/pkg/bin
> /sbin
> /usr/sbin
> Were all set with perms 700.

How did you set the permissions of the home directories? This looks like
there were symlinks to those directories and you didn't use -h for
chmod(1). Or did you run a (manual) system update with a umask of 077?
Well, I'd put those directories on a read-only partition and/or use
chflags(1), anyway.

--=20
Christian

--MGYHOYXEY6WxJCY8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAr3xz0KQix3oyIMcRAgKlAKCsvaQuvrQprmZxliF/dj68vlmdgACfSXU1
/DlvNk0y1w2YIqs7rjK0zEI=
=HHx2
-----END PGP SIGNATURE-----

--MGYHOYXEY6WxJCY8--