Hi,
While I do realize that most terminal emulators do not give you a login
shell by default, setting my terminal emulators to give me a login shell
did not meet with success. In addition, I logged in remotely and the
shell I was given (presumably a login shell, I had _just_ logged in) did
not read /etc/profile or ~/.profile. As a final test, I booted the
machine into a terminal as opposed to starting a terminal emulator
through X, with predictable results.

So, perhaps I should clarify / rephrase my bug report: Despite the
documentation, a pdksh login shell does not read /etc/profile or
~/.profile.

Thanks for the reply!
   

>Thanks for the bug report.
>
>I installed pdksh and looked through the man page, but could only find a
>mention of /etc/profile and ~/.profile getting read if the shell is a
>login shell.  This isn't the case when you start a shell in gnome-
>terminal for example.  I'm not sure about the other emulators, but I
>suspect the shell isn't started as a login shell in them either.  gnome-
>terminal does allow you to start the shell as login shell, if you check
>the "Title and Command" tab in your profile's preferences.
>
>But I may be referring to a different section in the documentation than
>what you are talking about.  Can you quote the exact section of the
>documentation that causes the confusion?
>
>** Changed in: pdksh (Ubuntu)
>       Status: Unconfirmed => Needs Info
>
>-- 
>pdksh's operation conflicts with documentation, /etc/profile and ~/.profile 
>are not read
>https://launchpad.net/bugs/49633

-- 
pdksh's operation conflicts with documentation, /etc/profile and ~/.profile are 
not read
https://launchpad.net/bugs/49633

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to