Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-18-2008, 01:14 AM   #1
Registered: Jul 2007
Location: Penang , Malaysia.
Distribution: red hat linux
Posts: 133

Rep: Reputation: 15
Smile How to configure auto login & after login auto startup some program.

Hi, in RHEL or any other distro linux.

1st question: How to configure auto login with specify user?
example now i am in RHEL5, i already create a few user, than now i want everytime this system when reboot or start will automatic login to specify user lets say user name is alex, how to configure this system direct login as user alex and no need password?

2nd question: How to configure a specify user after login and automatic startup some program?
example now i am in RHEL5, i already create a few user, than now i want each user when login have their difference login session, in command line environment(runlevel 3) where to configure it?is it at /etc/home/"user"/.bash_profile


# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc

# User specific environment and startup programs


export PATH


Is it just add the command like ls -al at the bottom of file ".bash_profile .?

Thank you very much.
Old 02-18-2008, 01:49 AM   #2
LQ Newbie
Registered: Oct 2006
Posts: 27

Rep: Reputation: 15
Visit this page on my blog regarding first one.


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
how to make a user id & password auto login? dgr Linux - Newbie 4 10-01-2007 01:59 PM
How to Configure Icewm as auto login GUI in Fedora 5 robertk7 Linux - General 4 05-10-2007 07:51 AM
Digital Picture Frame Startup Scripts - Auto Login gtwilliams Linux - General 4 08-01-2006 05:43 PM
a similar program to roboform (password/auto login prog) in kde/linux? zeltak Linux - Software 1 02-10-2006 07:55 AM
Disable auto login at startup x ferry.hidayat Linux - Newbie 2 10-03-2003 10:32 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:53 AM.

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
Open Source Consulting | Domain Registration