Bonjour,
j'ai installé OpenMediaVault (basé sur debian).
Lorsque je me connecte en ssh en tant que root, l'interface est correcte (prompt avec affichage du dossier en cours, couleurs, prise en compte de l'autocompletion, ...)
Lorsque je me connecte avec un autre utilisateur, plus rien ne fonctionne
J'ai copié le .bashrc du root dans le home de mon utilisateur
Voici le contenu du .bashrc
Code :
- # ~/.bashrc: executed by bash(1) for non-login shells.
- # Note: PS1 and umask are already set in /etc/profile. You should not
- # need this unless you want different defaults for root.
- # PS1='${debian_chroot:+($debian_chroot)}\h:\w\$ '
- # umask 022
- # You may uncomment the following lines if you want `ls' to be colorized:
- export LS_OPTIONS='--color=auto'
- eval "`dircolors`"
- alias ls='ls $LS_OPTIONS'
- alias ll='ls $LS_OPTIONS -l'
- alias l='ls $LS_OPTIONS -lA'
- #
- # Some more alias to avoid making mistakes:
- # alias rm='rm -i'
- # alias cp='cp -i'
- # alias mv='mv -i'
|
et celui du .profile
Code :
- # ~/.profile: executed by the command interpreter for login shells.
- # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
- # exists.
- # see /usr/share/doc/bash/examples/startup-files for examples.
- # the files are located in the bash-doc package.
- # the default umask is set in /etc/profile; for setting the umask
- # for ssh logins, install and configure the libpam-umask package.
- #umask 022
- # if running bash
- #if [ "$BASH" ]; then
- # include .bashrc if it exists
- if [ -f "~/.bashrc" ]; then
- . "~/.bashrc"
- fi
- #fi
- # set PATH so it includes user's private bin if it exists
- if [ -d "$HOME/bin" ] ; then
- PATH="$HOME/bin:$PATH"
- fi
|
Faut-il paramétrer autre chose?
Message édité par astik89 le 28-09-2014 à 20:48:25