[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
swith user to a bash user
From: |
Nicola Lodato |
Subject: |
swith user to a bash user |
Date: |
Mon, 06 Oct 2003 11:11:08 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 |
Hi,
I've a user /test /that has a /bin/bash shell. In his .profile file
there is these lines:
ODSRELEASE=/some/dir/
export ODSRELEASE
When, as user root, I try this command:
su - test -c "echo $ODSRELEASE"
this command don't return any value.
I've also pasted these lines in .bashrc and .bash_profile but the result
is the same.
I think that the profile of a user that has a bash shell isn't loaded.
Nicola Lodato
- swith user to a bash user,
Nicola Lodato <=