login script execution order
Dear list members: I would like to know what scripts in what order are run when someone logs in Suse locally through KDM/KDE and remotely (eg via ssh). Especially interest are the ~/.bashrc, ~/.profile, /etc/bash.bashrc and / etc/profile scripts. I could not find information either in the suse documentation project or in the adminguide. If you know please explain it or point me at a site that has some information. Thank you, IG
From: "Gabor Istvan" <suseuser04@freemail.hu>
Dear list members:
I would like to know what scripts in what order are run when someone logs in Suse locally through KDM/KDE and remotely (eg via ssh). Especially interest are the ~/.bashrc, ~/.profile, /etc/bash.bashrc and / etc/profile scripts. I could not find information either in the suse documentation project or in the adminguide. If you know please explain it or point me at a site that has some information. Thank you, IG
david@skyline:~> cat .bashrc # Sample .bashrc for SuSE Linux # Copyright (c) SuSE GmbH Nuernberg # There are 3 different types of shells in bash: the login shell, normal shell # and interactive shell. Login shells read ~/.profile and interactive shells # read ~/.bashrc; in our setup, /etc/profile sources ~/.bashrc - thus all # settings made here will also take effect in a login shell. # # NOTE: It is recommended to make language settings in ~/.profile rather than # here, since multilingual X sessions would not work properly if LANG is over- # ridden in every subshell. -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com --
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Sat, 26 Feb 2005, by suseuser04@freemail.hu:
Dear list members:
I would like to know what scripts in what order are run when someone logs in Suse locally through KDM/KDE and remotely (eg via ssh). Especially interest are the ~/.bashrc, ~/.profile, /etc/bash.bashrc and / etc/profile scripts.
man bash xinit Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131 SUSE 9.2 + Jabber: muadib@jabber.xs4all.nl Kernel 2.6.8 + MSN: twe-msn@ferrets4me.xs4all.nl See headers for PGP/GPG info. +
participants (3)
-
david rankin
-
Gabor Istvan
-
Theo v. Werkhoven