Package: bash
Version: 3.1dfsg-8

I set new PATH to ~/.bash_profile

PATH=$PATH:/home/vlad/bin
export PATH

But after new login I have no result. I see old PATH:

[EMAIL PROTECTED]:~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/games

$ cat /etc/passwd | grep vlad
vlad:x:1002:1002::/home/vlad:/bin/sh

$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 2008-04-21 17:47 /bin/sh -> bash


But if I change /bin/sh to /bin/bash in /etc/passwd all work fine

$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/games:/home/vlad/bin

$ cat /etc/passwd | grep vlad
vlad:x:1002:1002::/home/vlad:/bin/bash

/bin/sh is default shell for new users in Etch. And in "man sh" you can read about ~/.bash_profile that really is not working.

I am using Debian Etch. Kernel 2.6.18-6-686





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to