![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| User stuck in AIX | mali77 | UNIX for Dummies Questions & Answers | 2 | 09-18-2007 06:02 AM |
| AIX; Auto clearing of 'too many invalid login attempts by user' | Keith Johnson | AIX | 0 | 01-02-2007 12:54 PM |
| Auto Login | merlin | UNIX for Dummies Questions & Answers | 1 | 11-20-2002 09:01 AM |
| Auto Boot | bbutler3295 | UNIX for Dummies Questions & Answers | 1 | 03-25-2002 10:39 AM |
| Auto login? | merlin | UNIX for Dummies Questions & Answers | 4 | 02-26-2002 09:43 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
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
|
|||
|
|||
|
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 ... there should /must be a way to auto login on freebsd... thnx |
|
#4
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
no need to thank me. it was someone else who had the answer on google groups
|
|||
| Google The UNIX and Linux Forums |