Auto Login (Console, No Manager) [SOLVED]

I'm a noob to archlinux and the forums here, but hopefully I can become part of it!
I'm looking for a way to autologin to the console on boot, as I'll be running this computer as an SSH server for secure connections from anywhere in the world, and if I reboot it I really need it to login as root automatically. No login managers, just the lovely black console, that's what I need to auto-login. If that isn't possible... It would be a shame, but I couldn't find anything about just the console in the wiki or forums, only auto-logins for window managers and the like.
Also, if there's a way to start the SSHd after my wpa_supplicant has run on boot, I'd like your help with that too! To be specific: I figured out how to run wpa_supplicant on boot, but SSHd doesn't start automatically (I assume because when it does there's not yet a network connection), so how can I make it wait (say... 30 seconds) before starting itself, to be sure my Wifi will have authenticated by then (WPA)?
Help is much appreciated!
Ian
You're right, it works fine either way! Thanks for your help, I just though that maybe it'd need to be locally logged in to operate the SSHd, but that is false.
Last edited by suplegolas (2009-10-11 18:35:11)

It's a server, and I'd like it to auto-login after I reboot it from afar.
That's all. Security doesn't matter, as no one will have physical access to the logged in machine, that's why I disregard the security concerns of auto-login for local root.

Similar Messages

  • [Solved] [Xorg+KMS+Intel] Can't see login console / boot messages!

    Hi,
    My problem is that using an Intel video card (with KMS) after latest Xorg 1.8 update, I can't see boot messagges and the login console anymore.
    I've just noticed that after last Xorg update I can't access anymore to runlevel 3 on boot.
    I've got an Intel video card so KMS is enabled by default (and mandatory).
    I always used SLiM as a display manager, configured through /etc/inittab to go to runlevel 5 on boot:
    # /etc/inittab
    # Runlevels:
    # 0 Halt
    # 1(S) Single-user
    # 2 Not used
    # 3 Multi-user
    # 4 Not used
    # 5 X11
    # 6 Reboot
    ## Only one of the following two lines can be uncommented!
    # Boot to console
    #id:3:initdefault:
    # Boot to X11
    id:5:initdefault:
    rc::sysinit:/etc/rc.sysinit
    rs:S1:wait:/etc/rc.single
    rm:2345:wait:/etc/rc.multi
    rh:06:wait:/etc/rc.shutdown
    su:S:wait:/sbin/sulogin -p
    # -8 options fixes umlauts problem on login
    c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
    c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
    c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
    c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
    c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
    c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux
    # Hypervisor Virtual Console for Xen and KVM
    #h0:2345:respawn:/sbin/agetty -8 38400 hvc0 linux
    ca::ctrlaltdel:/sbin/shutdown -t3 -r now
    # Example lines for starting a login manager
    #x:5:respawn:/usr/bin/xdm -nodaemon
    #x:5:respawn:/usr/sbin/gdm -nodaemon
    #x:5:respawn:/usr/bin/kdm -nodaemon
    x:5:respawn:/usr/bin/slim >& /dev/null
    To enable runlevel 3 at boot,  I commented the id:5:initdefault: and the x:5:respawn:/usr/bin/slim >& /dev/null lines and uncommented id:3:initdefault:.
    Now, during boot, the last thing I see is Loading UDev modules..., then the screen becomes dark gray and I can't see any other boot messages (actually this appened also before, after xorg update).
    The problem is that before slim started but now I can't see any login console.
    I also figured out that typing my username, password and then startx, starts X normally, so the problem is just that I can't see the tty console anymore.
    Once I am in X I can switch to ttys normally.
    What can I do?
    I just wanted to get rid of slim and start X automatically after console login but I can't see the console login!
    I hope to have been clear enough, thanks for your help!
    Last edited by rent0n (2010-07-04 11:36:38)

    rent0n wrote:
    Well, it seems I spoke too early. It doesn't work as expected at every startup, sometimes I still have the black screen.
    Now I'm trying with:
    video=SVIDEO-1:d
    that seems to work, but I just tested it one time and I'm starting to think that screen blanking happens randomly...
    Any hint is more than welcomed.
    After a few reboots, I can confirm this workaround seems to work.
    This is weird indeed as I don't have any SVIDEO-1 interface listed by xrandr -q, but still.
    Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192
    VGA1 disconnected (normal left inverted right x axis y axis)
    LVDS1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
    1280x800 60.0*+
    1024x768 60.0
    800x600 60.3 56.2
    640x480 59.9
    TV1 disconnected (normal left inverted right x axis y axis)
    The only problem is that now boot lasts a lot of time  and, between UDev modules loading and disks checking, I have to wait for at least 30 seconds with a black screen and a central white dash flashing.
    Anyone experiencing the same thing?

  • Auto login in Design console in OIM

    I want to know the changes to be done so that I can auto login to xelsysadm when using design console in OIM 9.1.0.2
    Any help appreciated

    What do you mean by auto login?
    Do you want to implement Integrated windows authentication in OIM Design console. If yes, then I don't think it's possible.
    Post your requirement here so that ppl can help you out.

  • Norton Manage Logins Icon is missing with Firefox 4.0. My auto logins no longer work

    Norton has a manage logins icon that has disappeared from my toolbar when I updated to Firefox 4.0. Additionally, the Norton auto login function has stopped working, even though it appears fine when I look at the function in Norton.

    Symantec need to update their Firefox add-ons so that they are compatible with Firefox 4. They have released an update for Norton 360 to make it compatible with Firefox 4, for details see http://us.norton.com/support/kb/web_view.jsp?wv_type=public_web&docurl=20100720113635EN&ln=en_US
    I do not know about other Norton products, but if you run Norton LiveUpdate it should inform you if there are updates available. If no updates are available, you can downgrade to Firefox 3.6 if you want to use the Norton add-ons.
    To downgrade to Firefox 3.6 first uninstall Firefox 4, but do not select the option to "Remove my Firefox personal data". If you select that option it will delete your bookmarks, passwords and other user data.
    You can then install the latest version of Firefox 3.6 available from http://www.mozilla.com/en-US/firefox/all-older.html - it will automatically use your current bookmarks, passwords etc.
    To avoid possible problems with downgrading, I recommend going to your profile folder and deleting the following files if they exist - extensions.cache, extensions.rdf, extensions.ini, extensions.sqlite and localstore.rdf. Deleting these files will force Firefox to rebuild the list of installed extensions, checking their compatibility, and reset toolbar customizations.
    For details of how to find your profile folder see https://support.mozilla.com/kb/Profiles

  • [Solved]can't disable auto login after upgrade to gnome 2.28

    Prior to upgrading gnome to the latest version I had set gdm up to auto log me in. Since the upgrade I can't figure out how to disable auto login. I would like to be able to disable auto login, can anyone on here please help me out here? Thanks for any help provided.
    Last edited by daedalusman (2009-11-03 05:06:05)

    anonymous_user wrote:Look in your /etc/gdm/custom.conf file.
    Ah, thanks a bunch. This had been bothering me for awhile now, just finely got around to trying to fix it. Thanks again.
    Ranguvar wrote:
    You can't.  Using the advanced AI now in 2.28, GNOME has decided you are too stupid to log in yourself, and is now in User Protection Mode(TM).
    tongue xD
    Sorry, I have no constructive advice.  Just poking fun.
    No problem, you actually made me laugh out loud, so thanks for that.

  • Simple Console Display Manager

    I created a forked project from "The Console Display Manager" CDM,
    thanks Ghost1227 for your work
    I simplified its interface and added new options.
    It has all its initial features (less theming):
       - Multiple X sessions (user logins are all handled through tty1)
       - Any DE/WM
       - Configurable console logins
       - Users restricted to a single environment bypass the menu on login
       - Root is automatically dropped to console
       - All settings are configurable on a per-user basis
    And I added:
       - Uses a common .xinitrc script to start the X programs.
            You can specify a common init script for all your X and I will create a new .xinitrc adding it the command line to execute your X.
       - Supports a default selection and with timeout.
            You can choose a default selection when enter or space is pressed, and you can add a timeout to auto-select the default selection.
            You can press Esc to cancel too.
       - Doesn't clear the screen.
            I like to see the boot messages
       - Doesn't depend on dialog/ncurses.
            Now you have a simpler menu that doesn't clear your screen.
       - Removed themes.
            More gigabytes free on your hdd
    CDM-Simple is in AUR
    No Wiki yet, the help is on the installed configuration file /etc/cdmrc
    Enjoy!
    Last edited by jhcasado (2013-09-13 15:11:18)

    nice work. gonna test it right now..
    im reading the wiki, and found out the config file is in /etc/cdmrc, since everything is being migrated to /etc/name.d/something shouldnt cdm use the same hierarchy just for consistency? or am i missing something else here?
    anyway, just cosmetics
    EDIT: and....im back..... bravo. gotta love the simplicity!
    im not sure if this was thought of yet, but maybe it source a per user config that should override the global one, instead of having the special settings in /etc/cdmrc, there should be a ~/.cdm/ dir with user settings.
    Last edited by eldragon (2009-11-10 23:13:16)

  • Admin Server auto-login...

    I'm wondering if some one out there knows how to do this:
    Start the admin server with out a password (I have this part working already)
    And not have the console (http://adminserver:7001/console) have the username and
    password already filled in.
    I've tried using the boot.properties and the -Dweblogic.management.username=username
    which successfully by-pass the prompt at startup, but it allows everyone to log
    into the console webapp.
    So if there's a way to do this, I'd love to know, or if it can't be done, I'd
    like to know that too.
    Rich Whiffen

    Rich,
    Unfortunately, there is no way to "auto login" to the admin console. This
    is something that could be useful though, so I'll add it to a list of
    enhancments to potentially be included in a feature release.
    Thanks
    Chris Chiodo
    BEA Systems
    "Rich Whiffen" <[email protected]> wrote in message
    news:3f1bfffe$[email protected]..
    >
    I'm wondering if some one out there knows how to do this:
    Start the admin server with out a password (I have this part workingalready)
    And not have the console (http://adminserver:7001/console) have the
    username and
    password already filled in.
    I've tried using the boot.properties andthe -Dweblogic.management.username=username
    which successfully by-pass the prompt at startup, but it allows everyoneto log
    into the console webapp.
    So if there's a way to do this, I'd love to know, or if it can't be done,I'd
    like to know that too.
    Rich Whiffen

  • Auto login in Solaris 10

    Hi all
    I'm trying to establish auto login in Solaris 10, as a regular user or root. This is a personal testing machine, so security is not an issue.
    I want to automatically login preferably in the shell mode, ( no GUI if it's possible ), otherwise I can login with GUI, no biggie.
    From what I've found, it does not seem an easy job, given that my Solaris experience is somewhat limited, ( been working more on Linux ).
    If I can get that going, I'd prefer to run a few scripts upon login, which I think I can do it.
    So what steps must I go through to have auto login upon boot ? How hard is it ?
    Appreciate any comments. Thanks
    PS. Reposted, because I submitted my query in the wrong forum.
    Add the line below, to */etc/inittab* file.
    ip:1234:once:/full/path/to/scriptEdited by: mysol on Aug 4, 2009 4:12 PM
    Edited by: mysol on Aug 4, 2009 4:15 PM

    What do you mean by auto login?
    Do you want to implement Integrated windows authentication in OIM Design console. If yes, then I don't think it's possible.
    Post your requirement here so that ppl can help you out.

  • Problems joining Wi-Fi networks that require viewing a redirect page in iOS 8.1.1? Check your "Auto-Login" setting.

    Are you having problems joining previously used Wi-Fi networks that require you to view a login or redirect page (say to accept Terms of Use) first?  The problem could be your Auto-Login Wi-Fi network setting.
    I found numerous cases where I could not access in-store Wi-Fi networks (Nordstrom was one), hotel networks or in fact networks where you had to first view a Terms and Conditions page or where you had to login via a web form.
    These were all networks I had used before.
    This appears to be due to the "Auto-Login" setting assuming that once you (re)join a previously known network you can just go ahead and use it without further action. When the iOS device receives an error trying to use the network, it silently drops the Wi-Fi association.
    If this is happening to you, follow these steps:
    1) Go to Settings -> Wi-Fi
    2) Select the network you want to join
    3) When a check-mark appears next to the SSID, press the "i" button on the right hand side
    4) Set Auto-Join however you want, but shut off the Auto-Login switch
    5) Now attempt to use the network and you should be presented with the usual redirect page with terms you must accept or where you must login to use the Wi-Fi network in question
    This cleared up the issue for me everywhere I had previously been having issues.

    Just let me get one thing straight...you don't change don't do this for the PC you have your router plugged in to?
    "For Vista:
    1. Open Control Panel, Network and Internet, Network and Sharing Center, Manage Network Connections
    2. If Wireless, Right click on your Wireless Network Connection, otherwise, Right click on Local Area Connection and click Properties
    3. Highlight Internet Protocol Version 4(TCP/IPv4)
    4. Click Properties
    5. Tick Use the Following IP Address and enter the IP you want to use for that PC. I would start at 192.168.0.100(D-Link) and work your way up on each additional device. The second device would be 192.168.0.101, the 3rd, 192.168.0.102 and so on. Like I said, different brands of routers use different IP's, so it could be 192.168.1.100 and so on, so you will need to know the IP address of your router first.
    6. Subnet Mask is 255.255.255.0 on all pc's and devices
    7. Default Gateway is 192.168.0.1(D-Link) or whatever your router's IP is on all pc's and devices
    8. Tick Use the Following DNS Server Address and enter 192.168.0.1(D-Link) or whatever your router's IP is and click OK.
    9. You will need to do this on all Vista Pc's"

  • Auto login cwallet requires password

    I created a cwallet with orapki and auto_login using putty. OHS startall fails with error
    Cannot open an encrypted wallet file (wallet location) while process is managed by OPMN. Enable it as SSO wallet
    On reading up furthur, I found that Enable it as SSO wallet means that the wallet requires a password. I had checked the auto login checkbox when the cwallet was created using OWM.
    To confirm that password was the issue, I tried opening the cwallet using the command
    orapki wallet display -wallet wallet_location
    The command did request for password.
    Even though i had checked the auto login option why has the display of the cwallet requested for password.
    (FYI - cwallet was created from ewalllet.p12, ewallet opens fine with the oraclepki command after i provide the ewallet password. Hence there are no issues with my ewallet.p12 file)
    Can this issue be environment related.
    Thanks in advance for the help.
    Edited by: 929837 on Oct 17, 2012 12:08 PM
    Edited by: 929837 on Oct 19, 2012 3:44 AM
    Edited by: 929837 on Nov 19, 2012 1:28 AM
    Edited by: 929837 on Nov 19, 2012 1:29 AM

    User i had used to access OWM, to save the wallet, to get the cwallet is the same user who has access to all the folders in the installation.
    After closing the wallet manager i immediately try opening the generated cwallet file with orapki display command with the same user id, yet it requests for password.

  • Disabling Auto-Login Option

    How do we disable Auto-Login option in OBPM 10GR3 because I get the following error:-
    You have the autologin option enabled and the session for this execution has expired .

    So nobody else has been bitten by this stupid bug?
    Anyway, it happens on a pure VGA console too, so it has nothing to do with the video driver. And I take back the “more of an inconvenience” part – it is freaking annoying that one can not just properly change the runlevel. Oh well…

  • Enable auto login via command line

    Hi,
    I have an old Mac Mini (G4) running Leopard. My problem is that I cannot log in using Back to my Mac ( Screen Sharing ). I get as far as to the login window, but after login, the machine goes down ( crash completely ). I do not have the same problem with Intel-based Macs. I temporary solved this by activating automatic login. But after an upgrade of Leopard, the problem dissapaired - but after the last upgrade to 10.5.3 the problem is back - as the machine is in an other part of the country, and has no screen or keyboard - I was wondering if anyone can show me how to activate automatic login via the terminal, I have full access via SSH.

    In order for the "defaults write..." method to work, you will need an encrypted version of the user's password stored in /private/etc/kcpassword.
    This is automatically generated when Auto Login is set up via the standard Control Panel. If you don't have physical access, it could be copied from another machine to which you do have physical access and where the auto-logged-in user has the same password. Or it could be copied from any machine that already has the file and it contains the correct password.
    Alternately, there's some discussion of the encryption scheme used for kcpassword and theoretically, you could create the file from scratch. Check out: http://www.brock-family.org/gavin/perl/kcpassword.html

  • MDM Console/Data Manager Info

    Hi Guys. I am new to MDM world. I am looking for goof reference documents for Console and Data Manager I can use of.
    Also whether we can access Teched videos for 5.5 MDM stuff?
    Thank you in advance
    Jake

    Hi,
    To learn about console, Data Manager and other MDM components, best documents in my opinion are reference guides which are available at Service Market Place.
    You can have a look at them using [link|https://websmp201.sap-ag.de/~sapidb/011000358700001827872008E] (SMP Login required)
    You can also check following link to start with Getting Started with SAP NetWeaver Master Data Management [original link is broken]
    you can find maximum MDM related information at Enterprise Master Data Management
    Regards,
    Shiv

  • IMac is asking for admin login password upon startup when it never did before, settings are still on auto login. Why is it doing this out of the blue?

    iMac is asking for admin login password upon startup when it never did before, settings are still on auto login. Why is it doing this out of the blue?

    Is sounds like it might for some reason booting into Safe Mode, which does prompt for a password.
    Try a PRAM reset:
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    If that doesn't help, restart holding down the option key which should take you to the startup manager. Select Macintosh HD (you may need to use the arrows on the keyboard if the kb is Bluetooth), tap 'enter'. Does it boot normally now?

  • Auto Login Volume windows open up Annoying

    Hi everyone,
    I have a question I hope someone can solve.
    Ok its what I like to call an annoying fix. I set up my computer so that I auto login on to the office server and mount the volumes on my desktop. HOWEVER, everytime I restart my macintosh and it auto logs in... ALL the server volume windows open up and I have to close them everytime and there are 20 partitions!. Is there a way to fix this? I tried selecting the hide option in the login items pane of the account preferences but it didn't work. I'm almost going to resort to making an apple script but there must be a setting to stop this. Thanks
    iBook G4   Mac OS X (10.4.5)  

    Thanks for your reply,
    It is in the start up items and the hide option does not work.
    It's not just my macintosh but every mac in the office has the same problem. I've also seen the problem on other computers in other offices. I thought it might be a server issue but I've seen this problem occur regardless if it's a Windows or OS X server.
    I'm beginning to wonder if it is a bug or if OS X is set up that way on purpose.
    I do know it is annoying.
    iBook G4   Mac OS X (10.4.3)  

Maybe you are looking for

  • After upgrading, my MP4 vacation videos will no longer play.???

    Just upgraded my old Leopard to Snow Leopard and quickly noticed that it takes 10-20 times longer to load some web pages, if they load at all. Also, I've had to switch to using Firefox to pay one of my credit card bills for this reason. And now I hav

  • Oracle 11g OCA certification

    I am newbie .I would like to know a good book for Oracle 11g OCA certification ,1Z0-051 and 1Z0-052(with lesser number of mistakes).Appreciate a response.

  • Cannot complete iphoto Buy Book action

    I have problem ordering a photobook which took me a long time to create.  When the book is created, and after clicking the "Buy Book" button, everything went smoothly, i.e. I signed in with my Apple ID, provided my credit card and shipment informatio

  • When printing froms from IRS they do not come our as full page

    all printing to my hp c7280 printer comes out very small and does not print on full page. I have tried to set as "print full page" but it did not help. Printing from my laptop in this way, however, when i print from my desk top computer it is OK.

  • Drag and Dropping -- Question

    Howdy, I'm new at the whole drag and dropping thing... I have a JList and users can drop mp3s on it (sorta like a playlist -- actually it is a playlist) Now, I don't want users to drop .txt or .doc files onto the Jlist and what I have done to prevent