delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/07/15:08:25

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
Reply-To: <wpmccormick AT covad DOT net>
From: "Bill McCormick" <wpmccormick AT covad DOT net>
To: "Cygwin" <cygwin AT cygwin DOT com>
Subject: users and startup scripts
Date: Mon, 7 Jul 2003 14:07:32 -0500
Message-ID: <NDBBLLFMLFMANIDPNADCGECIFBAA.wpmccormick@covad.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Note-from-DJ: This may be spam

My /etc/.bash_profile doesn't seem to get executed. According to
http://www.gnu.org/manual/bash-2.05a/html_chapter/bashref_6.html#SEC63 it
wouldn't, which is contrary to other posts I've seen and Cygwin docs. So
consequently, my bash.bashrc and ~/.bashrc do not get executed.

/etc/profile does execute but where exactly is it called from? Is it called
from the executable?

On a different topic ...

I ran mkpasswd -l > /etc/passwd and mkgroup -l /etc/group and still cannot
'su' or 'login' as a different user from bash. Is there something else that
needs to be done after that? What is the preferred way to change users (su
or login) or should both work?

I'm just getting started with cygwin so sorry if I missed the blindingly
obvious.

Bill
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.491 / Virus Database: 290 - Release Date: 6/18/2003


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