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]

users and startup scripts


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/


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