LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-19-2010, 05:54 AM   #1
cedkhader
LQ Newbie
 
Registered: Jan 2009
Posts: 6

Rep: Reputation: 0
LOGIN PROCESS dissecting


hi all,

i am looking for a detailed description of the login process for both root and normal user , also locally and remotely.

i read some sentences that the files .bashrc and bash_profile are needed for this process. But that was very concise.



MANY THANKS IN ADVANCE

cedkhader
 
Old 05-19-2010, 07:15 AM   #2
redgoblin
Member
 
Registered: Jun 2005
Location: UK
Distribution: Debian
Posts: 189

Rep: Reputation: 41
It depends how deep you want to go. This would probably be a good start;

http://www.tldp.org/LDP/sag/html/sag...LOG-IN-AND-OUT
 
0 members found this post helpful.
Old 05-23-2010, 04:53 AM   #3
cedkhader
LQ Newbie
 
Registered: Jan 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Deep look inside login

i really need an advanced (deep) look inside the login process.
 
Old 05-23-2010, 05:08 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by cedkhader View Post
i really need an advanced (deep) look inside the login process.
Which parts of it? The link given by redgoblin gives the framework, enough to tell you the components and thus allowing further research up to the ultimate of inspecting the source code. Your OP suggests an interest in what bash does at login but what you write does not suggest you have studied the man page which has a complete functional description; going deeper would require source code inspection.
 
Old 05-23-2010, 08:03 AM   #5
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
It depends also if one logs in to a minimal system, or an X server. Are you building your own distro?
 
Old 05-23-2010, 08:28 AM   #6
cedkhader
LQ Newbie
 
Registered: Jan 2009
Posts: 6

Original Poster
Rep: Reputation: 0
dear catkin,


which man pages ?
 
Old 05-23-2010, 09:00 AM   #7
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by cedkhader View Post
which man pages ?
Specifically the bash man page available on line here. For bash-related man pages try the man -k bash command. For other online bash help try the info bash command. For man pages in general try the man man command.
 
Old 05-23-2010, 06:33 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
This version of the man pages may be easier to search http://linux.die.net/man/
 
Old 06-02-2010, 03:27 AM   #9
cedkhader
LQ Newbie
 
Registered: Jan 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Login files

can any one tell me how are the login file like .bashrc and .profile_bash accessed and processed to enable the login.

where can i find documentation about editing these files ??
regards
 
Old 06-02-2010, 06:22 AM   #10
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by cedkhader View Post
can any one tell me how are the login file like .bashrc and .profile_bash accessed and processed to enable the login.

where can i find documentation about editing these files ??
regards
The INVOCATION section of the bash man page describes how files like .bashrc and .profile_bash are used under various bash startup scenarios.

There are many examples of customising them, for example here.

Linux' man pages and the Internet are great resources. Most of us use them frequently; it is effort well repaid to familiarise with them.
 
  


Reply



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
[SOLVED] iptables: dissecting recent module rules anomie Linux - Security 3 03-27-2008 12:32 PM
LXer: Dissecting The ATI/AMD Linux Driver LXer Syndicated Linux News 0 07-27-2007 07:46 PM
LXer: Security Blog Log: Dissecting Firefox 2.0 LXer Syndicated Linux News 0 11-04-2006 02:21 AM
login process? nabil_boussetta Linux - Software 1 03-11-2004 11:13 AM
Dissecting linuxrc ( initrd ) nxny Linux - General 2 03-02-2003 03:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:19 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
Open Source Consulting | Domain Registration