LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-23-2003, 09:55 AM   #1
ctrunk514
LQ Newbie
 
Registered: Jul 2003
Location: Florida
Posts: 2

Rep: Reputation: 0
Auto Log on


I'm ruining Redhat 9.0 (but would be willing to switch disto's if that would help)

I have installed Linux to some older workstations with limited hardware resources. I have only installed the packages that I need and nothing else. No KDE, Gnome or any GUI. I'm trying to use as little hardrive as possible.

I want to know if there is a way to have the system auto log in as a user. Security is not an issue in this situation. I would be willing to install somthing small if it would help me get this done.
 
Old 07-23-2003, 02:33 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
For automatic login, you will need to create a user (and the home directory is required).
I will use guest.

Create a file (autologin) in /sbin
In the file, add:
exec su --login guest

Save it and make it executable:
chmod 755 autologin

In the /etc/inittab, replace the line
1:2345:respawn:/sbin/mingetty tty1
with
1:2345:respawn:/sbin/autologin tty1

You should set automatic login on tty1, since tty1 is where the guest login will default to.
 
Old 07-23-2003, 03:16 PM   #3
ctrunk514
LQ Newbie
 
Registered: Jul 2003
Location: Florida
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you very very much!
I followed you directions and it worked like a charm.

My only problem is that my user can no longer startx, I get a PAM authentication problem. It says "perhaps you do not have console owner ship" (I need to startx so that I can then run rdesktop)

If you have any thoughts I would greatly appreciate it.

Regardless, THANK YOU VERY MUCH!! you have gotten me much closer to my over all goal
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
eth0 Auto Connect, How to auto start on logon cornish Linux - Networking 2 05-09-2005 12:02 PM
Can I set up mwm to auto log on? steve_f60 Linux - Newbie 1 07-12-2004 07:37 AM
auto-completion - how does it work & can my script args auto-complete? BrianK Programming 1 06-11-2004 04:51 PM
auto log in? e1000 Linux - General 2 12-27-2003 03:05 PM
autofs enabled in kernel but auto.mount and auto.master are NOT in /etc! Alybyzrp Linux - General 0 11-11-2003 12:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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