LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-27-2004, 02:52 AM   #1
openart
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Rep: Reputation: 0
login directly to bash shell


Hi,
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

bye
Denis Fortunato
 
Old 10-27-2004, 07:15 AM   #2
creilar
Newbie
 
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, 07:17 AM   #3
Baldrick65
Member
 
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.

Baldrick
 
Old 10-27-2004, 07:32 AM   #4
openart
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, 07:36 AM   #5
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 659

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, 08:05 AM   #6
openart
LQ Newbie
 
Registered: Oct 2004
Posts: 6

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

Many thanks

denis
 
  


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

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

All times are GMT -5. The time now is 04:48 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