Mailinglist Archive: opensuse-bugs (5637 mails)
| < Previous | Next > |
[Bug 345570] .bashrc is not sourced after ssh -t
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Tue, 4 Dec 2007 03:49:33 -0700 (MST)
- Message-id: <20071204104933.AFA17CC6B5@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=345570
User werner@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=345570#c1
Dr. Werner Fink <werner@xxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|
|anicka@xxxxxxxxxx
AssignedTo|anicka@xxxxxxxxxx
|werner@xxxxxxxxxx
Severity|Normal |Enhancement
Status|NEW |ASSIGNED
Component|Basesystem |Basesystem
Product|openSUSE 10.2 |openSUSE
11.0
Platform|PowerPC-64 |All
Target Milestone|--- |Alpha 1
Version|Final |unspecified
--- Comment #1 from Dr. Werner Fink <werner@xxxxxxxxxx> 2007-12-04 03:49:33
MST ---
IMHO the bash on debian is hacked ... in other words this bash
does *not* follow the standard behaviour.
See: I've added the line
test $(id -un) = werner && echo $BASH_SOURCE
to the files ~/.bashrc, /etc/bash.bashrc, and /etc/profile, after this
I've executed
/suse/werner> ssh magellan 'printenv PATH'
/etc/bash.bashrc
/suse/werner/.bashrr
/suse/werner/bin:/suse/werner/bin/x86_64:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/opt/kde3/bin:/opt/gnome/bin
and then
/suse/werner> ssh -t magellan 'printenv PATH'
/usr/bin:/bin:/usr/sbin:/sbin
as you can see even the system files are not sourced and this is the default
for the bash. IMHO this is not a bug ... you may see it as enhencement but
nevertheless the common behaviour of the bash has to be changed for this.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
User werner@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=345570#c1
Dr. Werner Fink <werner@xxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|
|anicka@xxxxxxxxxx
AssignedTo|anicka@xxxxxxxxxx
|werner@xxxxxxxxxx
Severity|Normal |Enhancement
Status|NEW |ASSIGNED
Component|Basesystem |Basesystem
Product|openSUSE 10.2 |openSUSE
11.0
Platform|PowerPC-64 |All
Target Milestone|--- |Alpha 1
Version|Final |unspecified
--- Comment #1 from Dr. Werner Fink <werner@xxxxxxxxxx> 2007-12-04 03:49:33
MST ---
IMHO the bash on debian is hacked ... in other words this bash
does *not* follow the standard behaviour.
See: I've added the line
test $(id -un) = werner && echo $BASH_SOURCE
to the files ~/.bashrc, /etc/bash.bashrc, and /etc/profile, after this
I've executed
/suse/werner> ssh magellan 'printenv PATH'
/etc/bash.bashrc
/suse/werner/.bashrr
/suse/werner/bin:/suse/werner/bin/x86_64:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/opt/kde3/bin:/opt/gnome/bin
and then
/suse/werner> ssh -t magellan 'printenv PATH'
/usr/bin:/bin:/usr/sbin:/sbin
as you can see even the system files are not sourced and this is the default
for the bash. IMHO this is not a bug ... you may see it as enhencement but
nevertheless the common behaviour of the bash has to be changed for this.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |