LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 02-18-2008, 12:14 AM   #1
hocheetiong
Member
 
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

#.bash_profile

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

# User specific environment and startup programs

PATH=$PATH:$HOME/bin:/

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, 12:49 AM   #2
tailender
LQ Newbie
 
Registered: Oct 2006
Posts: 27

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


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


All times are GMT -5. The time now is 07:46 AM.

Main Menu
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