.bashrc non executé @ login
Fermé
nuanda
-
22 mars 2012 à 10:00
zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 - 26 mars 2012 à 09:46
zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 - 26 mars 2012 à 09:46
A voir également:
- .bashrc non executé @ login
- On me demande mon login - Forum Réseaux sociaux
- Facebook.com/login/identify en francais - Forum Facebook
- Mon pc me demande mon login é mon mo de passe - Forum Windows
- J’arrive plus à me connecter à mon compte Faceboo - Forum Facebook
- My.canalbox.africa/login ✓ - Forum WiFi
5 réponses
dubcek
Messages postés
18718
Date d'inscription
lundi 15 janvier 2007
Statut
Contributeur
Dernière intervention
22 mars 2024
5 615
22 mars 2012 à 11:03
22 mars 2012 à 11:03
hello
essayer avec : ssh -t
essayer avec : ssh -t
Utilisateur anonyme
23 mars 2012 à 03:16
23 mars 2012 à 03:16
salut,
l'interpréteur de commande sur la machine distante est-il bien /bin/bash ?
l'interpréteur de commande sur la machine distante est-il bien /bin/bash ?
echo $SHELL
Salut,
non:
echo $SHELL
/bin/tcsh
Y'a-t-il moyen de modifier cela? (sans être root)
A+
non:
echo $SHELL
/bin/tcsh
Y'a-t-il moyen de modifier cela? (sans être root)
A+
dubcek
Messages postés
18718
Date d'inscription
lundi 15 janvier 2007
Statut
Contributeur
Dernière intervention
22 mars 2024
5 615
24 mars 2012 à 08:11
24 mars 2012 à 08:11
oui, si il existe dans /etc/shells
chsh -s /bin/bash
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
Oui le /bin/bash existe dans /etc/shells, mais la commande chsh -s /bin/bash ne marche pas:
chsh: can only change local entries; use ypchsh instead.
Et ypchsh ne semble pas marcher non plus.
Un forum propose:
If you don't have adm. rights, you can still just run bash --login at login, by putting the below line at the end of your .chsrc or .profile (in your home directory) :
SHELL=/bin/bash exec /bin/bash --login
Or, j'ai mis des echo "blabla" dans les fichiers:
.bashrc .bash_profile et .zshrc
et rien n'est affiché à l'écran quand je me logge. Il semble qu'aucun fichier n'est lu quand je me logge... c'est possible ça??
pour info, voici le ls -a de mon home:
. .bash_logout .bashrc .emacs .forward .mozilla .ssh .zshrc~
.. .bash_profile .bashrc~ .emacs.d .forward.swp .kde .viminfo
.bash_history .bash_profile~ .DS_Store .flexlmrc .history .mcm .spamassassin .zshrc
Merci encore !
chsh: can only change local entries; use ypchsh instead.
Et ypchsh ne semble pas marcher non plus.
Un forum propose:
If you don't have adm. rights, you can still just run bash --login at login, by putting the below line at the end of your .chsrc or .profile (in your home directory) :
SHELL=/bin/bash exec /bin/bash --login
Or, j'ai mis des echo "blabla" dans les fichiers:
.bashrc .bash_profile et .zshrc
et rien n'est affiché à l'écran quand je me logge. Il semble qu'aucun fichier n'est lu quand je me logge... c'est possible ça??
pour info, voici le ls -a de mon home:
. .bash_logout .bashrc .emacs .forward .mozilla .ssh .zshrc~
.. .bash_profile .bashrc~ .emacs.d .forward.swp .kde .viminfo
.bash_history .bash_profile~ .DS_Store .flexlmrc .history .mcm .spamassassin .zshrc
Merci encore !
zipe31
Messages postés
36402
Date d'inscription
dimanche 7 novembre 2010
Statut
Contributeur
Dernière intervention
27 janvier 2021
6 407
26 mars 2012 à 09:46
26 mars 2012 à 09:46
Salut,
Et ypchsh ne semble pas marcher non plus.
Quelle commande as-tu tapée ?
Si on s'en réfère au man yppasswd, il suffit de taper "ypchsh" et au prompt de lui donner le chemin du nouvel interpréteur.
Un forum propose: [...]by putting the below line at the end of your .chsrc or .profile[...]
Or, j'ai mis des echo "blabla" dans les fichiers:
.bashrc .bash_profile et .zshrc
Si ton shell par défaut est tcsh, c'est dans un des 2 fichiers proposés qu'il te faut rajouter la ligne et non dans les autres qui par défaut ne seront jamais lus si ton shell est tcsh.
De plus, il semble que tu te logues sur un serveur NIS, peut-être devrais-tu en toucher 2 mots à l'administrateur, non ?
Et ypchsh ne semble pas marcher non plus.
Quelle commande as-tu tapée ?
Si on s'en réfère au man yppasswd, il suffit de taper "ypchsh" et au prompt de lui donner le chemin du nouvel interpréteur.
Un forum propose: [...]by putting the below line at the end of your .chsrc or .profile[...]
Or, j'ai mis des echo "blabla" dans les fichiers:
.bashrc .bash_profile et .zshrc
Si ton shell par défaut est tcsh, c'est dans un des 2 fichiers proposés qu'il te faut rajouter la ligne et non dans les autres qui par défaut ne seront jamais lus si ton shell est tcsh.
De plus, il semble que tu te logues sur un serveur NIS, peut-être devrais-tu en toucher 2 mots à l'administrateur, non ?