From owner-freebsd-questions Mon Mar 4 10:16:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from slate.dublin.wbtsystems.com (slate.dublin.wbtsystems.com [193.120.231.12]) by hub.freebsd.org (Postfix) with ESMTP id D88D637B405 for ; Mon, 4 Mar 2002 10:16:42 -0800 (PST) Received: from spiral (spiral.dublin.wbtsystems.com [193.120.231.190]) (authenticated bits=0) by slate.dublin.wbtsystems.com (8.12.2/8.12.2) with ESMTP id g24IGdkf059320; Mon, 4 Mar 2002 18:16:40 GMT From: "Barry Byrne" To: "Mike Dewhirst" , "'questions@freebsd.org'" Subject: RE: login-less user Date: Mon, 4 Mar 2002 18:16:38 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <0B0368CED76DD4118E1200D0B73E9B5D041E9F02@MAIL1> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Scanned-By: MIMEDefang 2.6 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Mike: Create the user with a shell that doesn't exist. e.g. /nonexistent Then use su with the -m option. e.g. su -m username Cheers, Barry -- Barry Byrne, IT Manager, WBT Systems, Block 2, Harcourt Centre Harcourt Street, Dublin 2, Ireland Phone: +353 1 417 0150 Fax: +353 1 478 5544 Email: barry.byrne@wbtsystems.com Web: www.wbtsystems.com -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Mike Dewhirst Sent: 04 March 2002 17:38 To: 'questions@freebsd.org' Subject: login-less user 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. ++ =********************************************************** If you are not the intended recipient, employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination or copying of this communication and its attachments is strictly prohibited. If you have received this communication and its attachments in error, please return the original message and attachments to the sender using the reply facility on e-mail. Internet communications are not secure and therefore the UCLES Group does not accept legal responsibility for the contents of this message. Any views or opinions presented are solely those of the author and do not necessarily represent those of the UCLES Group unless otherwise specifically stated. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses although this does not guarantee that this email is virus free. **********************************************************= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message