Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 02-07-2006, 06:24 PM   #1
LQ Newbie
Registered: May 2004
Distribution: Mandrake 10
Posts: 16

Rep: Reputation: 0
global initialization file

this is kind of noob question, bit I can't find definitive answer:
is there a real global initialization file, shell independant?
The one I could put path, manpath and maybe some aliases and stuff into, independant of shell I use?

First, both me and root use tcsh as default shell.
I've read somewhere to put additions to path in /etc/default/login. So I did. It works well, unless I log in as myself, and then su to root in console. In that case i get no path additions.

thanx in advance

Last edited by shoki_neu; 02-07-2006 at 06:50 PM.
Old 02-07-2006, 07:42 PM   #2
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint
Posts: 9,707

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Put tcsh global initialization in /etc/.login

Set SUPATH in /etc/default/su

Refrain from changing root's shell to something different than /bin/sh or /bin/ksh


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Munich Trade Fair Chooses Red Hat Global File System To Manage Web ... LXer Syndicated Linux News 0 12-26-2005 11:31 AM
Changing global file names. Sapient Linux - General 6 03-31-2005 05:10 AM
Redhat Global File System -- What is it? w_thongchai Linux - General 1 10-09-2004 11:51 PM
how do I add initialization to X? rzee Linux - Newbie 3 02-15-2003 02:38 PM
Initialization file for daemons ssu4716 Linux - Networking 3 12-16-2001 08:55 PM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 07:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration