delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/11/10:42:16

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Michael Erdely" <cygwin AT cygwin DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: change username
Date: Fri, 11 May 2001 10:41:28 -0400
Message-ID: <002301c0da28$77417760$1864a8c0@merdely>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2616
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000
In-Reply-To: <175462BE9122D311A2520008C7CFFCFF039A40AE@beltexch5.wsmg.digex.net>

Shall we assume Windows NT or Windows 2000?

Chances are, the user you are using was added after Cygwin was installed
(and mkpasswd -l or mkpasswd -d was run).

If this is a local user account, run mkpasswd -l, then copy and paste
the information regarding that and other users you want.  Otherwise, run
mkpasswd -d | egrep -I "^my_user_name_"(or mkpasswd -d
your_domain_here).

The reason I suggest copy and paste: When I run mkpasswd -l | egrep -i
"^new_user_name" >> /etc/passwd, the other lines in the passwd file now
have a ^M at the end.  I am set to "UNIX mode".

-ME

-----Original Message-----
From: cygwin-owner AT sources DOT redhat DOT com
[mailto:cygwin-owner AT sources DOT redhat DOT com] On Behalf Of Martin, James S.
Sent: Friday, May 11, 2001 10:01 AM
To: 'cygwin AT cygwin DOT com'
Subject: change username


My default shell always comes up with 

administrator AT MACHINENAME ~

even though I'm not signed on with the Administrator account...  When I
export my vars, it shows user and username set to Administrator.. This
is causing a problem with rlogin because the remote host doesn't accept
remote usernames that are that long.  How do I change the default
username?  I've even tried creating a .profile file to no avail.

Thanks,

James

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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