Opened 15 years ago
Closed 15 years ago
#5789 closed bug (fixed)
Set up environment correctly when logging into telnted on a Haiku box
Reported by: | mjw | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1/alpha2 |
Component: | Applications/Command Line Tools | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
I've noticed that various environmental variables are not set up when I login to a Haiku box using telnet. I have created a patch to /etc/profile to fix that - it sources /boot/system/boot/SetupEnvironment if it thinks it is necessary.
I assume logging in by ssh is affected as well.
Does it look reasonable?
Attachments (1)
Change History (6)
by , 15 years ago
Attachment: | profile.patch added |
---|
comment:1 by , 15 years ago
Component: | - General → Applications/Command Line Tools |
---|
comment:2 by , 15 years ago
Milestone: | R1 → R1/alpha2 |
---|---|
Version: | R1/alpha1 → R1/Development |
comment:4 by , 15 years ago
I verified this issue is also seen when connecting via sshd to Haiku.
I also verified that the listed patch works great with sshd.
As most login daemons use /etc/profile this is definitely a valid fix.
Note:
See TracTickets
for help on using tickets.
"BE_HOST_PCU" -> "BE_HOST_CPU"
Other than that I don't see a problem with that solution. Opinions or concerns, anyone?