1753946 Members
7830 Online
108811 Solutions
New Discussion юеВ

Linux account setting

 
SOLVED
Go to solution
Victor Mo
Occasional Contributor

Linux account setting

Hi, all
I go thru one account to linux box and have perfect setup with colors, last commadn recall, etc.
Then on very same box all different.
How I can change it to be same like for first userid, is it .prifile ?

THanks much.

V
I'm on
Linux 2008 x86_64 x86_64 x86_64 GNU/Linux
4 REPLIES 4
Victor Mo
Occasional Contributor

Re: Linux account setting

And I'm using Putty 0.60
Jupinder Bedi
Respected Contributor

Re: Linux account setting

copy the .profile of that user to another user and make the necessary changes.
All things excellent are as difficult as they are rare
Matti_Kurkela
Honored Contributor
Solution

Re: Linux account setting

Some settings may be in .bashrc file too.
The .profile may alternatively be named .bash_profile.

If an account has been configured with a non-default shell, it might use completely different files. The default shell in Linux is usually /bin/bash. The shell can be changed with the "chsh" command.

The basic setup for all new user accounts is stored in /etc/skel directory. If you customize the .profile and other files there, all new users created after that will get your customized settings.

A system administrator can also configure /etc/profile and /etc/bash.bashrc, so that the customized settings will become the new defaults for all users. Of course, the users' personal .profile files can usually override system defaults, unless the system administrator takes steps to make those defaults non-modifiable.

MK
MK
Victor Mo
Occasional Contributor

Re: Linux account setting

does it mean that I can copy all files in questions and that's it?