Single user mode in mac - macos

I want to use the mac in single user mode. I want to use ctags and cscope in that mode. Could anyone help me with the setups required for this. Thank you. All i know is how to go to the single user mode so please tell me in a simple and easy to understand method. My mac is version 10.6(snow leopard)

There is actually a full screen mode you can use (as others have said, you really don't want to run in single user mode).
Reboot your Mac and at the login screen, instead of your username type >console and leave the password empty. This will then take you to a full screen text mode.
[Note that for this to work you need to be able to type in the username rather than pick it from a list - to enable this go to System Preferences => Accounts => Login Options and select Name and password.]

Related

How did the program installer detect my email id?

I was trying to download Turbo C++ on my PC, and I happened to notice that under 'User Information' it had my email id. I tried downloading the program installer from an Incognito window, thinking that it might have picked it up from my browser (Brave). But it, somehow, still had the email id. It would be wonderful if someone could help me understand what is going on. Thank you :).
P.S. I've attached an image too. Screenshot of the installer
Open up a command console.
Type 'set' and return.
You'll probably see a line near the bottom of the list like:
USERNAME=ddaniels#gmail.com.
At some point when Windows was installed, that was the user name entered for the installation.
Alternately it might be buried in the registry somewhere ...
It's possible for a program to read user information from Windows including your email address if you are singed into a Microsoft account.
There are other places in the OS where this shows up including the About Windows dialog (winver).

Problems with the properties OSK.EXE (On Screen KeyBoard) +POWERSHELL +REGEDIT

as the title indicates I need help with the on-screen keyboard properties.
I have to configure a script, which I will deploy through SCCM in 30 terminals, and I need to make the keyboard go on screen as soon as I start the pc.
I have already solved this by adding this key to the registry
HKLM\Software\Microsoft\Windows\CurrentVersion\Run Clavier_Visuel = "C:\Windows\System32\osk.exe"
The problem is that I can't find a place to set the parameters of the keyboard: Remove the X to close it, display the PAD number, set the language to French and make it fit the screen.
This can be done manually, but that's not the goal.
Another point is that different users will be logged into the computers, so I can't set the condition to single user, but it should be general for all.
If you can help me it would be great, since I have not found anything useful so far, a greeting!

Passwd command in Single User Mode on OSX not working

I am currently trying to create a root account from Single User Mode on OSX Yosemite
/sbin/mount -uw /
launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist
passwd
The first 2 lines appear to work fine, but after I type 'passwd' nothing comes up. Not even a propmpt to keep typing commands. I don't believe it is setting the password because anything I type is visible and even if I type the same text twice nothing happens.
When I try to run this command after the computer boots and I have logged into my account 'passwd' works as expected, it prompts me for the old password and for the new password twice.
I had exactly the same issue, earlier today. However, there is another way:
Reboot your Mac then press & hold Command + R when it's booting up until you see a loading bar. You'll then be taken into recovery mode.
Recovery mode has a UI, so use your mouse and select Terminal from the Utilities section of the menu bar.
Type resetpassword in the terminal and hit Enter. This will load the password reset utility, where you can pick a user and give them a new password.

How do I create an interactive menu in a terminal?

I'm trying to build an terminal application that, when started, will take the user away from their prompt and present them with a screen with an interactive menu. I would like the user to be able to interact with it in the following way:
They will start the application by running my_app from the terminal. This will start the application and present them with the root menu.
They will use the cursor keys to navigate around the menu and use the [ENTER] key to make a selection.
When they make a selection, they will be presented with another screen/menu when they will do some work. When they are finished this work, they will press a key that will take them back to the root menu.
The key thing I'm after is for it to not be a scrolling view that just adds more information to the end. I'd like it to have distinct, encapsulated views with a navigation hierarchy. My problem is that I don't know how to produce such a view and present it to the user, and then dismiss it again once they're done. If someone could give me some kind of design pattern for this kind of application, I'll be able to take it from there.
FWIW, I'm using Ruby and would like the app to be cross-platform. If that's too much to ask, then Windows will suffice.
I'm a Linux guy and I want to suggest ncurses library for you. there's an ongoing effort to port this also to Windows.
AFAIK it's going pretty well, please check this question.

how to fix opensuse GUI on VNC display?

our server has opensuse 12.1, whenever I try to access through VNC viewer the GUI of opensuse is appearing raw. I guess its the problem with X11 or X-windows. how do I fix this to get a better GUI for all the views?
And also when we create a new user we need to modify the xstartup file to append startkde & to have a GUI. Is there a way that I can modify it at one place and xstartup is modified for all the new users created?
Thank you
Can you explain more clearly what "raw GUI" means? is it the resolution, no kde effects?
As to second part of your question - basically u don't need to start X session to create / set user accounts see the link link - get familiar with user* commands - it really speeds up the work. Cheers!

Resources