One thought on “Mac OS X: Fast User Switching”
Even when fast user switching is disabled, you can still invoke this feature from the command line by running:. The first step is to unlock the preference pane with an administrator user and password. Your user doesn't need to be an administrator - you just need to authenticate as one or have one help out to enable fast user switching.
Is there anything I can do to reenable these options? Louis Louis 10 26 I can't find one for Perhaps try that with -bool YES? Even when fast user switching is disabled, you can still invoke this feature from the command line by running: I created an alias for this in my.
How do I set fast user switching via terminal? : macsysadmin
Still, for a machine with one or two mouse-centric, forgetful users, yours is a nice implementation, and I'm sure a lot of people will prefer it. Cheers Frederico. If you put something like this into your. Authored by: It just goes to the log-in screen. What would be nice is if it went to the log in screen, but then invoked a real screensaver or dimmed the screen or something.
Then it would be more useful. But nice work so far. AFAIK, what you suggest isn't possible. Once the program has been invoked to switch to the login screen, the system has complete control. I could invoke another saver, but it would be hidden. Running "top" I see the following added to the list of processes once OSXvnc is run: It's a sloppy solution, but I don't know how to pass a password to "sudo" via script If you're interested in this hint so that you can reclaim menu bar space for yourself, but don't want other users of the system to have to remember the terminal incantations: Just command-dragging a menu item out of the menu bar will remove it form the preferences, and it won't show up next time you log in — no need to manually edit the preference file.
Guys, I'm impressed with the dedication to saving a few pixels of menu bar space. But how about some information on modifying this script so I can switch to one of my other users without entering that darned password every time?
The obvious answer, adding a -password flag, doesn't work. I'd like to see this too. I often log into my friends laptop via OSXvnc and use his cable connection to grab large Bit Torrents. However, sometimes he forgets to log into my account. OSXvnc continues to broadcast the screen despite switching users, but it won't allow me to share the display so I can't switch it back!
Enabling Fast User Switching 10.10
If you ever figure it out, please drop me an email at http: I have this script: It also first checks to see if you are changing to the current user. To be able to switch to some particular user without going through the Login Window first, I make this script too: If you make links to. Remember that you need to make both fus and. Now for every user that I want to be able to switch to directly from the AppleScript menu I do the following in the Terminal: It is very important that you make a hardlink instead of a symlink because for whatever reason when you run the script from the AppleScript menu the symlink is resolved to the.
Then from the AppleScript menu I can choose "foo" and up pops the panel asking for the user password. Here is a work around. First remove these files remember that Login Window is a link to fus so it is important to delete these first: This AppleScript calls fus with its own name minus the. Now we need to create the "Login Window" script in the AppleScript menu.
It too cannot be a link to a Bourne shell script anymore because there will be zombie processes remaining. But since the name trick is not being played with it, this AppleScript is very straigh forward.
The ". If you do not want to use the extension that is fine too, the. Just do not use any other extension because then it will not work. Lost your password? Powered by the Parse. More Mac Sites: Macworld MacUser iPhone Central. Use fast user switching from the Terminal Nov 07, '03 For those who love Panther's Fast User Switching but don't like the menulet in the upper-right corner, here's a shell script to do it.
If it is called without any arguments, the script will switch to the login window. If called with a user name or id, it will bring up the password dialog and assuming the correct password is entered switch to that user. Use fast user switching from the Terminal 51 comments Create New Account. The following comments are owned by whoever posted them. Or you could use AppleScript's ability to run shell scripts and just place this on your script menu. No need for AppleScript: Context Menu Authored by: Perhaps even a context menu item using OnMyCommand.
Good thought, didn't think to add that! Bottacco on Nov 08, '03 Use with CornerClick Authored by: Make an applescript from this all on one line: Rob Please fix me! I think you need 4 slashes to show two. Actually, if you use the [ code ] tags without spaces , as noted in red above the comment input box, then you can use one backslash for each one that you need to appear. Hence, it's supposed to look like this: Eravau on Nov 07, '03 Use with ScriptSaver Authored by: If you install the ScriptSaver screensaver, you can also use the applescript to trigger the loginwindow at screensaver time see thread about use with CornerClick for the applescript.
- amiga os for mac g5?
- how to download from utorrent faster mac?
- m audio interface mac driver!
- Mac OS X: Fast User Switching - ovomfansalt.ga.
- fast user switching disabled - Apple Community!
- mac os x minecraft texture packs.
Timer Script countdown Authored by: Wery nice! Menu Bar Item Modification? Telluride on Nov 07, '03 Yes, it's possible, here's how: Rainy Day on Apr 27, '06 Xeo on Nov 08, '03 Frederico on Nov 07, '03 I'm giggling each time I use this: Distribute with appropriate credits, please. Frederico [ Reply to This ]. I like my script better ; It presents you with a list choice dialog. Frederico on Nov 08, '03 Cheers Frederico [ Reply to This ].
Even cooler Authored by: I wrote a screen saver to do this. I just finished writing a very simple screen saver that will do this. As soon as the screen saver is invoked, it switches over to the login screen. You can find it with source code on my public iDisk user name rselph , or here. Hey, that actually works rather nice, but, it isn't really a screensaver perse is it? Hey, now that's pretty darn cool! The link changed to this Just tried to find this and the link had changed. By back tracking I was able to find the right link which is: Actually when I downloaded the file it contained a number of screensavers, but none that I could identify as the one referenced above.
MVasilakis on Nov 11, '03 If I wanted to add code to kill the osxvnc service with this how would I do it? CrankyMacGuy on Feb 21, '04 Remove the User Switch Menu for you but leave it for others Authored by: A menu to replace Apple's Authored by: For anybody that comes to this hint looking for a free replacement to Apple's menu, I've put together an open source application to do so.
The project is at fus. It allows, among other things, for you to replace the long username with either your user picture or your short username.
Related mac os x fast user switching command line
Copyright 2019 - All Right Reserved