From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: presotto@plan9.bell-labs.com To: 9fans@cse.psu.edu Subject: Re: [9fans] cpu server/terminal combination MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-xozmnojomsigqirwnslbthjgwv" Date: Wed, 5 Jun 2002 08:18:43 -0400 Topicbox-Message-UUID: a5fb0982-eaca-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-xozmnojomsigqirwnslbthjgwv Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit I'm not sure I understand what you're trying to do. If you're just trying to make a login command that lets a process become another user, there already is one. Look at /sys/src/cmd/auth/login.c or man login. Then you can then start a factotum as yourself. --upas-xozmnojomsigqirwnslbthjgwv Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Wed Jun 5 06:23:42 EDT 2002 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Wed Jun 5 06:23:40 EDT 2002 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.16.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 0BF0619AE7; Wed, 5 Jun 2002 06:23:29 -0400 (EDT) Delivered-To: 9fans@cse.psu.edu Received: from mercury.bath.ac.uk (mercury.bath.ac.uk [138.38.32.81]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 6A4E619ACA for <9fans@cse.psu.edu>; Wed, 5 Jun 2002 06:22:45 -0400 (EDT) Received: from news by mercury.bath.ac.uk with local (Exim 3.12 #1) id 17FXeD-0001mF-00 for 9fans@cse.psu.edu; Wed, 05 Jun 2002 11:04:09 +0100 Received: from GATEWAY by bath.ac.uk with netnews for 9fans@cse.psu.edu (9fans@cse.psu.edu) To: 9fans@cse.psu.edu From: Gabriel Diaz Lopez de la Llave Message-ID: Organization: http://groups.google.com/ Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit References: Subject: Re: [9fans] cpu server/terminal combination Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Wed, 5 Jun 2002 10:03:55 GMT How can i say to factotum to ask for a user id at startup? (i mean make login process) to run as another user than bootes? auth/factotum -g ? Thanks --upas-xozmnojomsigqirwnslbthjgwv--