View Full Version : Is changing user shell allowed ?
dwardo
03-24-2007, 06:54 AM
Actually i've tried (switch to bash in /etc/passwd) and my n800 fails to boot I do get the progress bar until Id say 3/4 of the sreen and then reboot.
I hate ash !!! Won't even read its own .ashrc file !!!
Thanks for any feedback
P.S. I'm using latest firmware (installed last night...)
EDIT: Is there a way to revert to old passwd file without completely reflashing (i;e; loosing programs installed ?)
Dwardo
dwardo
03-24-2007, 04:20 PM
Well I've reinstalled after trying all rd-flags to no avail.
All I really want is ash (or sh) to source .profile on xterm start.
It does source .profile when I ssh into my n800 but it won't on starting xterm (Who knows why ???)
Worse...
ince in xterm under ash
if I
>> bash
then bash reads my .bashrc file
however if I
>>/bin/sh
sh does not read my .profile file.
I've tried the /usr/shar/application/hildon/osso-xterm.desktop hack, but It has 2 drawbacks.
1) If I open a second tab I'm back in ash
2) icon in left application bar is no longer that of a terminal WTF !!!
Thanks for any information/help
dwardo
brendan
03-24-2007, 06:03 PM
if you go into red pill mode, the bash environment is listed as available for install...
dwardo
03-24-2007, 06:40 PM
I allready installed bash-m
using redpill & repos listed on maemo there is no other bash package in my application manager !
I've found that once in osso-xterm doing
>> export ENV=.ashrc
>> ash
will start a new ash that sources my .ashrc file.
LASt step is to find how to have this done directly on osso-xterm startup.
I Tried adding
export ENV=.ashrc
to /etc/profile, but to no avail.
dwardo
geneven
03-24-2007, 10:13 PM
zsh is also listed somewhere.
DCr33P
03-24-2007, 10:42 PM
Nooo! No zsh! Several users had problems with zsh. Application Manager freezes, the app can't be deinstalled and doesn't work. There was even a user who's apt was that much bricked, that he wasn't able to install or remove any other applications. Maybe it works in new firmware, maybe not, maybe ...
geneven
03-24-2007, 11:53 PM
Zsh didn't work for me and I had trouble uninstalling it too, but I thought that someone would stop offering it if it was like a rabid dog prowling the streets...
dwardo
03-25-2007, 03:35 PM
Seems like I'm out of luck...
There is a bug filed (here:
http://maemo-hackers.org/ticket/25?replyto=3#comment ) for osso-xterm because it doesn't start a login shell that will then source the user's .profile file.
Seems to still be a problem in osso-xterm 0.13.mh21bora1 (the one I'm using)
dwardo.
bakerbaker
05-02-2007, 12:46 PM
wait, so is it possible to have my own custom commands in a .profile file?
ditkuss
09-25-2007, 01:16 PM
I'm having this same problem, and I can't stand busybox anymore. I also got that nasty reboot cycle too when I changed /etc/passwd. Another thing that might work is to simply change the symlink from /bin/sh > busybox to /bin/sh -> /usr/bin/bash, which would be the cleanest way to change the shell. I'm too afraid to try this because I don't want to brick my 770 again.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.