Date: Wed, 20 Jan 1999 09:10:48 -0600 From: Bill Hamilton <billh@finsco.com> To: Peihan Wang <peihanw@mx.cei.gov.cn> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: howto prevent password from been changed? Message-ID: <36A5F1F8.E54A6413@finsco.com> References: <36A5D54D.234631CB@mx.cei.gov.cn>
next in thread | previous in thread | raw e-mail | index | archive | help
How about putting a dummy passwd program in their path, ahead of /sbin/passwd? Give them execute permission but no write permission on it. The program could just exit or log a message for YOU and tell them that they are stepping into deep doo-doo and then exit. Of course, they could still type /sbin/passwd, or wherever it is (oops). Peihan Wang wrote: > > > But I do not want them to execute passwd for that will > cause extra sys-admin tasks. > > The default permission of passwd is -r-sr-xr-x. > Change permission or hide passwd is unwise for other > users will feel discomfort. > > Any suggestions? > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36A5F1F8.E54A6413>