On Wed, 02 Feb 2005 20:59, Nick Rout wrote:
> /etc/skel contains the files that are loaded to a new users home dir, they
> are therefore the defaults
Okay found them and copied the .bash_profile to my user dir all via the 
konsole using bash shell ver bash-2.05b$ ( this is actually my prompt too).

looking at the file i copied from a newly created user and the version 
in /etc/skel they are look the same (as i would expect since i created a new 
user then logged in as that user then copied it across to my home dir as 
root).

BUT still i don�t get what the new user gets (namely the below pasted prompt)
bash-2.05b$ su temps <--- my current terminal prompt
Password:
[EMAIL PROTECTED] dave]$ <--- temps terminal prompt and what i wish to have 
restored.

below is temps .bash_profile

[EMAIL PROTECTED] dave]$ cat .bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME





>
> ibm 2.6.9-gentoo-r1 # ls -a /etc/skel
> .  ..  .bash_logout  .bash_profile  .bashrc
>
> On Wed, February 2, 2005 8:54 pm, dave said:
> > somehow i have no .bas_profile for me as a user.
> >
*** snipped ***
-- 
Dave Lilley

Reply via email to