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]
Other format: [Raw text]

Re: Aliases no longer defined?


On Tue, 1 Apr 2003, Rolf Campbell wrote:

> Igor Pechtchanski wrote:
> > On Tue, 1 Apr 2003, Rolf Campbell wrote:
> >
> >
> >>Peter Davis wrote:
> >>
> >>>Ok.  There ain't much worth cracking my system for anyway.  Here's the
> >>>/etc/passwd file from one machine below.
> >>>
> >>>Thanks for any help with this!
> >>>
> >>>-pd
> >>>
> >>>SYSTEM:*:18:544:,S-1-5-18::
> >>>Administrators:*:544:544:,S-1-5-32-544::
> >>>Administrator:unused_by_nt/2000/xp:500:513:U-WINBOX-XPRO\Administrator,S-1-5-21-3996086570-211328594-3762194425-500:/home/Administrator:/bin/bash
> >>>Guest:unused_by_nt/2000/xp:501:513:U-WINBOX-XPRO\Guest,S-1-5-21-3996086570-211328594-3762194425-501:/home/Guest:/bin/bash
> >>>HelpAssistant:unused_by_nt/2000/xp:1004:513:Remote Desktop Help Assistant Account,U-WINBOX-XPRO\HelpAssistant,S-1-5-21-3996086570-211328594-3762194425-1004:/home/HelpAssistant:/bin/bash
> >>>pdavis:unused_by_nt/2000/xp:1006:513:Peter Davis,U-WINBOX-XPRO\pdavis,S-1-5-21-3996086570-211328594-3762194425-1006:/home/pdavis:/bin/bash
> >>>Peter Davis:unused_by_nt/2000/xp:1005:513:U-WINBOX-XPRO\Peter Davis,S-1-5-21-3996086570-211328594-3762194425-1005:/home/Peter Davis:/bin/bash
> >>>SUPPORT_388945a0:unused_by_nt/2000/xp:1002:513:CN=Microsoft Corporation,L=Redmond,S=Washington,C=US,U-WINBOX-XPRO\SUPPORT_388945a0,S-1-5-21-3996086570-211328594-3762194425-1002:/home/SUPPORT_388945a0:/bin/bash
> >>>SUPPORT_3f151ab9:unused_by_nt/2000/xp:1003:513:CN=Dell Computer Corporation,L=Round Rock,S=Texas,C=US,U-WINBOX-XPRO\SUPPORT_3f151ab9,S-1-5-21-3996086570-211328594-3762194425-1003:/home/SUPPORT_3f151ab9:/bin/bash
> >>>Pdavis:unused_by_nt/2000/xp:11059:10513:Pdavis,U-WORKDOM\Pdavis,S-1-5-21-138833350-1684557462-623647154-1059:/cygdrive/c/Documents and Settings/Pdavis.WORKDOM:/bin/bash
> >>
> >>Well, you seem to have 3 accounts, one with a space in it, and one with
> >>different case.  Do you really have 3 different accounts?
> >
> > Rolf,
> >
> > And what does this have to do with aliases not being exported?  FWIW, the
> > UIDs on all 3 accounts are different...
> >
> Well, if he *thinks* he's logging on as 'pdavis', but is really logging
> on as 'Pdavis', then bash might be using the 'wrong' home dir.

Ah.  I didn't see that...  Devious. :-)

> Peter,
> what happens if you ". /home/pdavis/.bashrc" (without using ~)

Peter,

Also, what is the output of "echo ~" and "cd ~ && /bin/pwd"?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha at cs dot nyu dot edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor at watson dot ibm dot com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
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/


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