Opened 23 years ago

Closed 22 years ago

Last modified 22 years ago

#328 closed defect (invalid)

settings of teminal users saved in .bash_profile but apps use .bashrc

Reported by: diemumiee@… Owned by: lfs-book@…
Priority: normal Milestone:
Component: Book Version: 3.2
Severity: minor Keywords:
Cc:

Description

This is just a minor problem .. Many shell and terminal applications use .bashrc instead of .bash_profile, which is used by ssh and shell used in lfs. 'xterm', 'su' and the kde terminals all use .bashrc. So I added a link on .bash_profile called .bashrc, to have the same settings in every terminal ..

Change History (1)

comment:1 by gerard@…, 22 years ago

Resolution: invalid
Status: newclosed

This is not a bug. This is normal bash behaviour. .bash_profile is used for login shells, .bashrc for non-login shells. If you want to make your 'su' or 'xterm' session a login shell thus using .bash_profile simply run something like:

su - username xterm +ls

(see man pages of bash su and xterm)

Note: See TracTickets for help on using tickets.