On 21.Feb 2005 - 16:31:23, Michelle Konzack wrote:
> Am 2005-02-21 00:08:32, schrieb Thomas Jahns:
> > Michelle Konzack <[EMAIL PROTECTED]> writes:
> 
> > > Interessant, denn wenn ich meine .bash_profile auf
> > > .profile umbenenne, funktioniert nichts mehr...
> > 
> > Das passiert mit der bash dann, wenn auch eine .bash_login vorhanden ist
> > (und diese nicht doch noch .profile nachl�dt).
> 
> Als root werden:
> 
>     /etc/profile
>     /root/.profile -> /root/.bashrc

Verdammt, dann mache ich irgendwas falsch:

morpheus:~>ls -l .bash_profile
-rw-r--r--  1 root root 219 Feb 21 17:05 .bash_profile
morpheus:~>cat .bash_profile
# ~/.profile: executed by Bourne-compatible login shells.

if [ -f ~/.bashrc ]; then
  . ~/.bashrc
fi

echo ".profile"

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
export PATH

mesg n

[EMAIL PROTECTED]:~>su -
Password:
.profile

> gelesen und als $USER
> 
>     /etc/profile
>     $HOME/.bash_profile -> /root/.bashrc

Und hier dasselbe andersrum:

[EMAIL PROTECTED]:~>ls -l .profile
-rw-r--r--  1 andreas andreas 627 Feb 21 17:08 .profile
[EMAIL PROTECTED]:~>head -5 .profile
# ~/.bash_profile: executed by bash(1) for login shells.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

echo "profile"
[EMAIL PROTECTED]:~>su - andreas
Password:
profile

> sprich, wenn Du sie f�r den $USER umbenennst,
> haste lediglich keine configurierte SHELL.

Falsch, lies nochmal man bash. 

Andreas

-- 
Someone is speaking well of you.


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)

Antwort per Email an