Date: Mon, 4 Mar 2002 14:31:15 -0500 (EST) From: Vivek Khera <khera@kcilink.com> To: freebsd-questions@freebsd.org Subject: Re: login-less user Message-ID: <200203041931.g24JVF518764@onceler.kciLink.com> References: <0B0368CED76DD4118E1200D0B73E9B5D041E9F02@MAIL1>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "MD" == Mike Dewhirst <Dewhirst.M@UCLES.org.uk> writes: MD> <P><FONT SIZE=2>how do I create a user that cannot login, but one that you could su to.. I want to create a user called "cvs" to give it ownership of cvsroot.</FONT></P> Kill the HTML, and your pointless "disclaimer" which was six times as long as your message. What you want to do is create a user with the password field set to "*". That is, create your cvs user using pw or adduser or whatever tool you like. Enter whatever you like for the password. Then run "vipw" and make the second field (the encrypted password) a single asterisk. Now you can su to this account from root (su to root first), but nobody can log into it directly. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: khera@kciLink.com Rockville, MD +1-240-453-8497 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/ 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?200203041931.g24JVF518764>