This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: change username


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@sources.redhat.com
[mailto:cygwin-owner@sources.redhat.com] On Behalf Of Martin, James S.
Sent: Friday, May 11, 2001 10:01 AM
To: 'cygwin@cygwin.com'
Subject: change username


My default shell always comes up with 

administrator@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]