![]() |
Re: change regular user to bash shell?
Quote:
|
Re: change regular user to bash shell?
Quote:
Nokia-N900:~# chsh user Changing the login shell for user Enter the new value, or press ENTER for the default Login Shell [/bin/sh]: /bin/bash --- maye you have to set a password. edit: as expected: password or not makes no difference: "chsh user" works just fine. further never edit /etc/passwd. you never know what weird things a system does and passwords might be stored in several places - lucky you, that the phone actually has them in /etc/passwd. |
Re: change regular user to bash shell?
Quote:
|
Re: change regular user to bash shell?
Quote:
the only thing that (should though isn't allways) be relyable is the accessmethodes. so chsh should change the shell using whatever is used on the phone to store the user data. and it does. br [to make the difference clear: if chsh doesn't change the shell then chsh is broken and i would considder it a bug - the program doesn't work. if /etc/passwd is not used and you try to set the shell there it is you who used the wrong place ] |
Re: change regular user to bash shell?
Quote:
|
Re: change regular user to bash shell?
Quote:
I wonder why its is not working, again it changes my prompt but doing echo $SHELL shows /bin/sh for user while showing /bin/bash for root. so it did not work correct? |
Re: change regular user to bash shell?
Quote:
install the bash and become root(unfortionally they have configured user may not change it himself): then simply type: Code:
#chsh user [nb rant: that happens when you forbid the user to change things the easy way, they start doing dangerous things^^] |
Re: change regular user to bash shell?
Quote:
weird, why is this working for other but not for me? grrr. |
Re: change regular user to bash shell?
Quote:
btw here is my new prompt [2]user@nokia-N900|~] yucky right? |
Re: change regular user to bash shell?
Quote:
1. you messed something accidentely up(dont think so) 2. you need to log in again. reboot(... i'm lazy ).- the difference is: i am via ssh on the phone and you open a xterm |
All times are GMT. The time now is 06:38. |
vBulletin® Version 3.8.8