Opened 9 years ago

Closed 9 years ago

Last modified 4 years ago

#4424 closed defect (fixed)

enviroment variable $HOME is "/root" everytime

Reported by: vn158@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version:
Keywords: enviroment variable shell ash Cc:


I created new user user in /etc/password with /home/user homedir. When user log in $(pwd)=/home/user but $HOME=/root

Maybe changing line


in /etc/profile to something like

HOME=$(grep -e "^$LOGNAME:" /etc/passwd | cut -d ":" -f 6)

will help.

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by nbd

  • Milestone changed from Kamikaze 8.09 RC2 to Kamikaze
  • Resolution set to fixed
  • Status changed from new to closed

fixed in r13914, r13915

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.