delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/26/21:01:47

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
Date: Tue, 26 Nov 2002 21:01:30 -0500
From: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: can't set $USER under 1.3.16-1
Message-ID: <20021127020130.GB1087241@HPN5170X>
Mail-Followup-To: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>,
cygwin AT cygwin DOT com
References: <20021125211758 DOT GA2648 AT ingber DOT com>
Mime-Version: 1.0
In-Reply-To: <20021125211758.GA2648@ingber.com>
User-Agent: Mutt/1.4i

On Mon, Nov 25, 2002 at 04:17:59PM -0500, Lester Ingber wrote:
> Up until now, through cygwin 1.3.15-2, I have set my $USER in /etc/profile
> to a username different from `id -un`, with the same name set in /etc/passwd.
> I have had no problems logging in

> What else must I do under 1.3.16-1 to set my own username?

Assuming you are under NT/2000/XP, generate /etc/passwd with mkpasswd.
Then edit the file and change the name (at the beginning) and the home directory
(toward the end) to your liking, on the line with your username.

Pierre

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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