LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-26-2005, 09:57 AM   #1
muppski
Member
 
Registered: Feb 2003
Posts: 149

Rep: Reputation: 15
Auto-login


Hey!

I need to know how to make a autologin.
This is what I thought of.

System boots -> User X auto logs in -> Application Y starts
and if that application dies it will just be launched again (incase of crash)

There is no X on this comp so kdm/gdm wont do.
Suggestions?
 
Old 10-26-2005, 02:00 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Add group and user. Set password for user. Set shell to application. Application may not allow subshell and all that. Edit inittab and comment out all tty's. Add one tty for the runlevel: kiosktty1:3:respawn:/sbin/mingetty --nice 10 --delay 1 --chdir /home/username --autologin username tty1 . For added security check if getty option --chroot is workable. If it is and internet access is allowed, patch kernel with GRSecurity patch for extra chroot safety and move home to a /dev/shm partition. Alternatively you could run the setup from a modified Live CD.
 
  


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
adminstrator login while auto-login is on? joshknape Linux - General 5 07-19-2005 04:51 AM
auto login titanium_geek LQ Suggestions & Feedback 3 08-31-2004 06:08 AM
auto-login dexwest Fedora 2 07-08-2004 04:19 AM
Auto-login and auto-restart... TankerKevo Red Hat 2 10-04-2003 07:52 AM
auto-login? Rex_chaos Linux - General 3 05-10-2002 01:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:50 PM.

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