Bug 1171
Summary: | rsh won't run /etc/profile script when running program | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | kenc |
Component: | rsh | Assignee: | Nalin Dahyabhai <nalin> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.2 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 1999-04-09 18:42:44 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
kenc
1999-02-15 15:33:45 UTC
This is actually a bash (started up by rsh) problem. The behavior is annoying, but well known (and well documented). This is actually the standard behavior of rsh (rshd). If given a command, rsh(d) executes the command directly, without running a login shell. If not given a command, rsh reverts to rlogin(d), which in turn runs a login shell which, for bash, runs /etc/profile and ~/.bash_profile. |