LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices



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

Rep: Reputation: 0
global initialization file


hi
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.
Why?


thanx in advance
shoki

Last edited by shoki_neu; 02-07-2006 at 07:50 PM.
 
Old 02-07-2006, 08:42 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
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
 
  


Reply


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 12:31 PM
Changing global file names. Sapient Linux - General 6 03-31-2005 06:10 AM
Redhat Global File System -- What is it? w_thongchai Linux - General 1 10-10-2004 12:51 AM
how do I add initialization to X? rzee Linux - Newbie 3 02-15-2003 03:38 PM
Initialization file for daemons ssu4716 Linux - Networking 3 12-16-2001 09:55 PM


All times are GMT -5. The time now is 02:37 AM.

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