arriagga Posted December 19, 2002 Report Share Posted December 19, 2002 holA (hi) i did a fresh install of ml9 (due to a problem i had), and now my konzole at the pront only shows bash$, if al login as a root it shows me the directory where i am and the user this is not the first time it happens to and i happened before (sometimes when i do fresh install it is ok and sometimes not) can anyone tell me how can i change that :?: ths :!: Quote Link to comment Share on other sites More sharing options...
aru Posted December 19, 2002 Report Share Posted December 19, 2002 a) first check that the login shell is /bin/bash instead of /bin/sh: [arusabal@localhost ~]$ awk -F: '/USER/ {print $NF}' < /etc/passwd /bin/bash [arusabal@localhost ~]$ Where USER is your user name (the one that shows that werid prompt) if it is /bin/sh, then change it to /bin/bash editing the file /etc/passwd B) Check /etc/bashrc, it must contain code referring to PS1 (variable that defines the pormpt) c) As a last resource, edit your user's .bashrc and place a something like this: PS1="[u@h W]$ " export PS1 Espero que mi respuesta le haya ayudado ;) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.