dimanche 22 juin 2014

My Linux colored prompt, normal user and root

The prompt PS1 is in ~/.bashrc file

Normal user : 

PS1='${debian_chroot:+($debian_chroot)}\[\033[1;33m\]\u\[\033[00m\]@\[\033[0;32m\]\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '





 


Root :

PS1='${debian_chroot:+($debian_chroot)}\[\033[1;31m\]\u\[\033[00m\]@\[\033[0;32m\]\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '


mercredi 1 janvier 2014

Could not update ~/.ICEauthority after ecryptfs-rewrap-passphrase wrapped-passphrase SOLVED

Hello,

I wanted to change my login password on my personnal account on my Gnu Linux Debian Wheezy, so I do this :

$ su root -
# cd /home/.ecryptfs/seb/.ecryptfs
# ecryptfs-rewrap-passphrase wrapped-passphrase

I gave the old password ( my login password ), then the new, then I changed my login passwd :

# passwd seb

And after a reboot, I fell on this nice message : 



Could not update ~/.ICEauthority

I could not enter on my own account :-(((