delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/29/23:44:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <3.0.5.32.20030429234331.0080f8d0@mail.attbi.com>
X-Sender: phumblet AT mail DOT attbi DOT com (Unverified)
Date: Tue, 29 Apr 2003 23:43:31 -0400
To: cygwin AT cygwin DOT com
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
Subject: Re: sshd and other daemons
Cc: davidtg-cygwin AT justpickone DOT org
Mime-Version: 1.0

David T-G wrote:

>% machine (probably the one who's logged in).  You will also need to add a

>How does one make a program run as a particular user?  Hmmm...

On Win9X, you can create as many users as you want in /etc/passwd, 
e.g. with "mkpasswd -u new_user >> /etc/passwd" or by direct editing.
Passwords need to be added manually, as indicated by Igor.

When logging from the network, you run as the user you specified,
starting in his/her home directory (from /etc/passwd).

When starting locally, you run as the default user (uid 500)
if you have not logged in into Windows, or if you have logged in
under a name that is not in /etc/passwd. Else you run under the
Windows username and the matching uid from /etc/passwd.

You can use "su" to switch users.

Pierre


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019