RE: Shell prompt

From: Arnaldo Bento (arnaldo_bento_at_clix.pt)
Date: 08/29/04

  • Next message: Mike Burger: "Re: Atapi CD-RW problem (ide-scsi)"
    To: "'Alexander Dalloz'" <alexander.dalloz@uni-bielefeld.de>, "'For users of Fedora Core releases'" <fedora-list@redhat.com>
    Date: Sun, 29 Aug 2004 19:46:34 +0100
    
    

    Sorry any badly understood.

    Subject: Re: Shell prompt

    Am So, den 29.08.2004 schrieb Arnaldo Bento um 19:08:

    > You deleted your ~/.bashrc. Recreate it as root:
    >
    > cp /etc/skel/.bashrc ~/.bashrc
    > chown $USER:$USER ~/.bashrc
    > (where $USER is the user for which you have to repair the .bashrc)

    > --->It works as a root but not as a user.

    Please be more verbose. In your initial posting about this problem it
    was visible that you was logged in as root. So the copying of the
    skeleton .bashrc did fix it for root?

    YES. As a root it worked well.

    You too had the problem with a
    missing PS1 set as a normal user?

    Yes.

    > Copying the .bashrc from skeleton into the user's home directory did not
    fix
    > it?
    >
    > --->No
    > --->I copy it to a user directory /home/aabento

    ls -al /home/aabento/.bashrc
    cat /home/aabento/.bashrc
    ls -al /etc/bashrc

    Please post the output of the 3 commands.

    Alexander

    [root@aabento html]# ls -al /home/aabento/.bashrc
    -rw-r--r-- 1 aabento nosso 124 May 22 23:24 /home/aabento/.bashrc
    [root@aabento html]#

    [root@aabento html]# cat /home/aabento/.bashrc
    # .bashrc

    # User specific aliases and functions

    # Source global definitions
    if [ -f /etc/bashrc ]; then
            . /etc/bashrc
    fi
    [root@aabento html]#

    [root@aabento html]# ls -al /etc/bashrc
    -rw-r--r-- 1 root root 1180 Mar 3 03:52 /etc/bashrc
    [root@aabento html]#

    I hope this could help you to understand my "problem ???"

    Tyanks.

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Mike Burger: "Re: Atapi CD-RW problem (ide-scsi)"

    Relevant Pages