rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: Chet Ramey <chet@nike.ins.cwru.edu>
To: pk@TechFak.Uni-Bielefeld.DE
Cc: rc@hawkwind.utcs.toronto.edu
Subject: Re: non login "rc" needs customized environment
Date: Wed, 13 Feb 2002 15:36:33 -0500	[thread overview]
Message-ID: <020213203633.AA70816.SM@nike.ins.cwru.edu> (raw)

> We have been using "rc" as default login shell for more than 10 years now
> with currently 1000+ users in our department. Every now and then, but
> with increasing frequency recently we've felt uncomfortable with "rc"s handling
> of $HOME/.rcrc. It's only processed if "rc" is a login shell, which is not
> the case if you use rsh/ssh for calling commands on a remote system.
> Unfortunately this prevents users from customizing their environment there,
> especially the PATH variable.

The environment can be modified with ssh, via  ~/.ssh/environment.  ssh
also provides ~/.ssh/rc to run commands before the user's command is
started.  It's run by the user's login shell as taken from the password
file.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/


             reply	other threads:[~2002-02-13 21:11 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <chet@nike.ins.cwru.edu>
2002-02-13 20:36 ` Chet Ramey [this message]
2002-02-14  2:16   ` Scott Schwartz
2002-02-14 23:35     ` Markus Friedl
2002-02-15  3:05       ` Scott Schwartz
2002-02-27  6:29 Byron Rakitzis
  -- strict thread matches above, loose matches on Subject: below --
2002-02-27  6:26 Russ Cox
2002-02-27  0:52 Byron Rakitzis
2002-02-15  4:11 Byron Rakitzis
2002-02-15 14:04 ` Tim Goodwin
2002-02-27  1:46   ` callum.gibson
2002-02-27  2:16     ` Chris Siebenmann
2002-02-27 13:32       ` Carlo Strozzi
2002-02-27 13:29   ` Carlo Strozzi
2002-02-27 22:24     ` Matt H
2002-02-27  6:13 ` Derek Fawcus
2002-02-14 17:44 Byron Rakitzis
2002-02-15  0:18 ` Dave Mason
2002-02-15  3:21 ` Scott Schwartz
2002-02-14 13:35 Smarasderagd
2002-02-15  0:37 ` Greg A. Woods
2002-02-13 19:21 Peter Koch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=020213203633.AA70816.SM@nike.ins.cwru.edu \
    --to=chet@nike.ins.cwru.edu \
    --cc=chet@po.CWRU.Edu \
    --cc=pk@TechFak.Uni-Bielefeld.DE \
    --cc=rc@hawkwind.utcs.toronto.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).