OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => 6000 - Tosa => Topic started by: MSC_Geek on November 22, 2004, 07:29:54 pm

Title: /etc/passwd And Shell
Post by: MSC_Geek on November 22, 2004, 07:29:54 pm
Just curious,
      I am running the ROM that shipped with the Z, and I am confused.  When I check my /etc/passwd file the zaurus user says /bin/sh as does the root user, but when I open a terminal it automatically starts me out in bash.  If I su I get the plain sh shell, so I am not sure why/where my /etc/passwd file is being overridden.  I don't see a .profile or any other dot type files that look like they would be starting bash.  Anyone got any guesses?
Title: /etc/passwd And Shell
Post by: dsavard on November 22, 2004, 11:15:10 pm
The shell is redefined when Qtopia is started, at this time the zaurus user is already logged on, so, the passwd shell definition is overriden. QPE is initialized with environment found in /home/QtPalmtop/qpe.sh. That's where you will find: export SHELL=/bin/bash.