Author Topic: /etc/passwd And Shell  (Read 2144 times)

MSC_Geek

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://
/etc/passwd And Shell
« 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?
Sl6000 w/ Expansion Sled
128M San Disk CF
512M PNY CF
pdaxrom

dsavard

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
    • http://
/etc/passwd And Shell
« Reply #1 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.
JID: AchilleTalon-myjabber.net[/font]
___________________________________
Zaurus SL-6000L
HAiCOM HI-303 MMF CF GPS Receiver
Targus Universal Wireless Keyboard
Verbatim SD 64 MB
Lexar 32x 1GB SD
Lexar 4x 1GB CF
Sharp CE-170TS Serial cable
___________________________________