[gentoo-user] re: no dot profile/bashrc for root user

2013-10-15 Thread Alexander Kapshuk
I've noticed there's no .profile or .bash_profile or .bashrc in /root.

Is that normal?

What if I want to set/modify some environment variables? How would I do
that?

Thanks.




Re: [gentoo-user] re: no dot profile/bashrc for root user

2013-10-15 Thread Lee
On Oct 15, 2013 12:35 PM, Alexander Kapshuk alexander.kaps...@gmail.com
wrote:

 I've noticed there's no .profile or .bash_profile or .bashrc in /root.

 Is that normal?

 What if I want to set/modify some environment variables? How would I do
 that?

 Thanks.


IIRC there's a default profile in /etc or /usr somewhere. Sorry I can't be
more specific.


Re: [gentoo-user] re: no dot profile/bashrc for root user

2013-10-15 Thread Alan McKinnon
On 15/10/2013 21:34, Alexander Kapshuk wrote:
 I've noticed there's no .profile or .bash_profile or .bashrc in /root.
 
 Is that normal?
 
 What if I want to set/modify some environment variables? How would I do
 that?


create the file and edit it

There's no magic to those files, they were copied there from the install
tarball, or from /etc/skel, or from any number of places. They are just
files


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] re: no dot profile/bashrc for root user

2013-10-15 Thread Peter Humphrey
On Tuesday 15 Oct 2013 22:34:15 Alexander Kapshuk wrote:
 I've noticed there's no .profile or .bash_profile or .bashrc in /root.
 
 Is that normal?
 
 What if I want to set/modify some environment variables? How would I do
 that?

I just adapt my ordinary user's files for use by root.

-- 
Regards,
Peter




Re: [gentoo-user] re: no dot profile/bashrc for root user

2013-10-15 Thread Alexander Kapshuk

On 10/15/2013 10:57 PM, Alan McKinnon wrote:

On 15/10/2013 21:34, Alexander Kapshuk wrote:
   

I've noticed there's no .profile or .bash_profile or .bashrc in /root.

Is that normal?

What if I want to set/modify some environment variables? How would I do
that?
 


create the file and edit it

There's no magic to those files, they were copied there from the install
tarball, or from /etc/skel, or from any number of places. They are just
files


   

Simple as that, huh?

Understood. Thanks.