Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Stop pre-filling of username

When my computer goes to sleep, or screen saver I have it set to require my login to get out of it.
But it always prefills my username is there a way to prevent it from doing this so that the authentication window just appears blank ?

MacBook Pro SR 2.4Ghz C2D, 4GB ram, GeForce 8600M GT 256MB VRAM, Mac OS X (10.5.2)

Posted on Apr 5, 2008 8:14 AM

Reply
4 replies

Apr 5, 2008 10:31 AM in response to arkling

This Terminal command switches to the login window:

/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend

This one sleeps your Mac:

osascript -e 'tell application "System Events" to sleep'

I used Automator to write my script. I used the "Run Shell Script" action, and entered the above two commands. I also added a sleep 3 command between the two, which pauses for three seconds. Then I saved the workflow as an application.

I then used a program called Spark (search www.versiontracker.com for it) that allows one to program keystrokes to launch applications. I used it to set control-F13 to launch the Automator app.

Apr 5, 2008 10:31 AM in response to arkling

I don't understand your reasons for doing this but the following will work to bring you to the login window when you come out of a screensaver. You can compare it with Király 's solution when she posts it.

1. Download and install [Scriptsaver|http://www.macupdate.com/info.php/id/9599].
2. Save the following apple script somewhere:

--------------------------------
do shell script "/System/Library/CoreServices/Menu\ \Extras/User.menu/Contents/Resources/CGSession -suspend"

-------------
remove the space between backslashes between Menu and Extras in the above.

3. Configure the scriptsaver to run your favorite screen saver and to execute the above apple script on screen saver deactivation.

4. (Optional) Uncheck the option is security system prefs to ask for password when coming out of screen saver.

Stop pre-filling of username

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.