The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
User stuck in AIX mali77 UNIX for Dummies Questions & Answers 2 09-18-2007 09:02 AM
AIX; Auto clearing of 'too many invalid login attempts by user' Keith Johnson AIX 0 01-02-2007 03:54 PM
Auto Login merlin UNIX for Dummies Questions & Answers 1 11-20-2002 12:01 PM
Auto Boot bbutler3295 UNIX for Dummies Questions & Answers 1 03-25-2002 01:39 PM
Auto login? merlin UNIX for Dummies Questions & Answers 4 02-26-2002 12:43 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-25-2004
termiEEE termiEEE is offline
Registered User
  
 

Join Date: Mar 2002
Location: belgium - city of Kooigem
Posts: 25
Unhappy freebsd auto login user at boot / i'm stuck

I run freebsd 4.8 and try to find the way or 'a' way to log in a certain user i created automaticaly at pc boot.
I have searched the net, the manuals, but found nothing...

could anyone please get me going by showing me an example or what file(s) i need to take a look at.

i am not working with a graphical interface, purely command line
  #2 (permalink)  
Old 02-25-2004
Optimus_P Optimus_P is offline Forum Advisor  
flim flam flamma jamma
  
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
i just installed 5.2 a day or two ago and i noticed in the gnome desktop there is a setting to autologon x user. i dont play with that machine much, cuz i havent had time, but i know there is a way. i guess the real question is why?

that pretty much kills your 1st level of security off the bat.
  #3 (permalink)  
Old 02-25-2004
termiEEE termiEEE is offline
Registered User
  
 

Join Date: Mar 2002
Location: belgium - city of Kooigem
Posts: 25
optimus,

i am not working with and x interface
the reason why i want the autologin is following:
the freebsd client is a replacement for our old as400 ibm twinax terminals, we want our entire network twinax free.
So we took a freebsd, set tn5250 emulator on it
for a user we changed his profile so when he logs on he he automaticaly starts up the emulator, leading him to his as400
sign on screen.
So he would have to log in twice: once on unix, then on as400
which is for some users or

...
there should /must be a way to auto login on freebsd...

thnx
  #4 (permalink)  
Old 02-25-2004
Optimus_P Optimus_P is offline Forum Advisor  
flim flam flamma jamma
  
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
the only things i found on the net about auto login were on google. the 2nd link is prolly the money shot.

http://groups.google.com/groups?q=au...due.edu&rnum=1

http://groups.google.com/groups?q=au...estions&rnum=4

http://groups.google.com/groups?hl=e...net%26rnum%3D6
  #5 (permalink)  
Old 02-25-2004
termiEEE termiEEE is offline
Registered User
  
 

Join Date: Mar 2002
Location: belgium - city of Kooigem
Posts: 25
looks extremely good!

i'll test it tomorrow,
today is a good day, lot's of projects approved

thnx optimus, U own!
i'll post later on if it works or not

thnx!
  #6 (permalink)  
Old 02-26-2004
termiEEE termiEEE is offline
Registered User
  
 

Join Date: Mar 2002
Location: belgium - city of Kooigem
Posts: 25
yes!

link2 is indeed the money shot!

but still needs some changes.

in your /etc/gettytab

you search for this entry

P|Pc|Pc console:\
:ht:np:sp#115200:

then you copy it, and paste under it

P|Pc2|Pc console:\
:ht:np:sp#115200: Pc2:\
:ht:np:sp#115200:al=<username>:

as you see, the entry responds to the second one in the row, in this case for entry 1: Pc, and for entry 2: Pc2
now you can created as many entries as you want, i created 2 extra ones

P|Pc3|Pc console:\
:ht:np:sp#115200: Pc3:\
:ht:np:sp#115200:al=<username>:

once you saved the gettytab
you go to /etc/ttys

search
ttyv0 "/usr/libexec/getty Pc" cons25 on secure
and change this one (or another ttyvX) to
ttyv0 "/usr/libexec/getty Pc2" cons25 on secure

in my case, i also change ttyv1 to "/usr/libexec/getty Pc3"

save the file

perform
#kill -HUP 1

system should now automaticaly log in after boot on ttyv0 with the user of entry Pc2
and on ttyv1 with user of entry Pc3

and it actually works!!


thnx optimus!
  #7 (permalink)  
Old 02-26-2004
Optimus_P Optimus_P is offline Forum Advisor  
flim flam flamma jamma
  
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
no need to thank me. it was someone else who had the answer on google groups
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:12 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0