Visit Jeremy's Blog.
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 10-27-2004, 03:52 AM   #1
LQ Newbie
Registered: Oct 2004
Posts: 6

Rep: Reputation: 0
login directly to bash shell

I would like to enter directly to bash command line without typing every time login and password.
I use mandrake 10. Is there a way to do this? I think I must write in some configuration file some command....can you help me?
Thanks all...sorry for my english

Denis Fortunato
Old 10-27-2004, 08:15 AM   #2
Registered: May 2004
Location: Barcelona
Distribution: Fedora Core 1, Ubuntu
Posts: 17

Rep: Reputation: 0
I don't know how it works in Mandrake, but in Fedora there's the possibility of automathic login. You can check in your login settings and look for some option you can specify which user which automathicly will login (with just two clicks you can have it working!)
Old 10-27-2004, 08:17 AM   #3
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
To boot directly to a command line, you have to change the /etc/inittab file. In particular, the part that says id:5:initdefault:, change the 5 to a 3 and reboot. You should be greeted without the gui. You will still have to login though, but you won't have to go through a gui.

Old 10-27-2004, 08:32 AM   #4
LQ Newbie
Registered: Oct 2004
Posts: 6

Original Poster
Rep: Reputation: 0
yes....bue the inittab file is already configured with the number 3....

.....there is the possibilities for automatic login, but only for the X version....

I would like an "automatic login" when enter to a shell command line...

can you help me?
Old 10-27-2004, 08:36 AM   #5
Registered: Jul 2003
Posts: 658

Rep: Reputation: 30
add this: to rc.local or some file that will be executed at the end of the boot sequence.

login -f <user>
Old 10-27-2004, 09:05 AM   #6
LQ Newbie
Registered: Oct 2004
Posts: 6

Original Poster
Rep: Reputation: 0
It works very well!!!!

Many thanks



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
Rare problem - cant login into bash shell Xris718 Linux - General 2 07-16-2004 02:07 AM
starting bash as a login shell every time slackwarefan Slackware 3 04-30-2004 03:55 PM
How to login to bash shell inarin Linux - Newbie 1 10-07-2003 03:45 PM
How to run shell script directly without inquiring running mode? Piero Linux - Software 3 09-03-2003 03:28 AM
systemwide bash login shell cleanup file markus1982 Linux - General 2 05-10-2003 09:35 AM

All times are GMT -5. The time now is 03:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration