#11 disable auto-login/Extensions/ login items

Next_Release
open
7
2012-10-09
2003-09-05
Marc Verhoeven
No

For a (future ) advanced menu:
- disable Extensions/Startup Items. if you install a not
compatible .kext the computer might hang during startup.
For instance Powerlogix CPU director hangs OSX during
startup; has a kext + startup item.

-If a user has an offending login-item set it would be nice
to:
-disable the autologin feature, so you can log-in with root
instead.
or;
-disable all loginitems for all users (a bit rude ;-)

Discussion

  • Logged In: YES
    user_id=583959

    This is definitely within AppleJack project scope and will
    be looked into. Thanks for the suggestion.

     
  • Logged In: YES
    user_id=583959

    Here's how to disable auto - login from SUM:

    Stop Auto-Login in Single-User ModeIf your computer is set
    to log in automatically but you have a crashing Finder, you
    wont be able to try any of the troubleshooting steps for
    Finder crashing at login. However, you can force it to
    display the Loginwindow at startup; that requires
    single-user mode. Note that many techniques used by logging
    in as>console (discussed next) or used remotely with Telnet
    or SSH can be performed in single-user mode as well. To
    force the computer to display the login window, do the
    following:
    1.In single-user mode, make sure you already mounted the
    hard drive with the command /sbin/mount uw / and press Return.
    2.Type
    nicl raw /var/db/netinfo/local.nidb delete
    /localconfig/autologin
    and press Return.

    Warning!

     
  • Alex
    Alex
    2006-02-27

    Logged In: YES
    user_id=1462400

    A little more detail on rude things to do to the system... As an emergency get
    you going utility I'd like to see Applejack extended to include troubleshooting
    many issues after the loginwindow process loads but before finally loaded to
    desktop.

    Advanced Menu of invasive/destructive fixes by order of how invasive/
    destructive if boots past grey apple - especially if Safe boot works.(with
    disclaimers about data loss. Back up immediately)
    - rename /Library/StartupItems/ - to .1, .2...
    - move 3rd party extensions from /System/Library/Extensions/ - to .1, .2...
    - rename /Library/Preferences/SystemConfiguration/ - to .1, .2...
    - rename ~/Preferences/ folder - to .1, .2...
    - rename ~/Library/ folder - to .1, .2... (for users w/o clean admin user)
    ===
    Also include general hardware troubleshooting steps (perhaps in the man
    pages).
    - disconnect hardware devices - how to
    - safe boot - how to
    - reset PRAM - how to
    - reset NVRAM - how to
    - reset PMU - how to
    - run AHT - how to run looping
    - note to remove additional memory
    ===
    Side note... AppleJack Project Page http://applejack.sourceforge.net/
    navigation is not loading in Safari for me.
    ===
    for the auto run i'd like to see all three sub to options run, run and restart,
    run and shutdown.
    ===
    This is a GREAT Program!

     
  • Logged In: YES
    user_id=583959
    Originator: NO

    The latest version of AppleJack (1.4.3) includes the option to disable auto login, and also to disable login items for specific users. I have also implemented a way to disable the /Library/Preferences/SystemConfiguration (though it's a bit ugly).

    I'm interested in moving forward with disabling Extensions etc, but am unsure how to determine what is a third-party extension. Some extensions do not have the com.apple.* domain in their info.plist, but may still be standard extensions. Do you have a fool-proof way of telling which extensions have been installed as add-ons, short of having to compile a list of extensions for each OS?