macOS admin password not working inside terminal - macos

I'm required at work to use a Mobile Account connected to Active Directory. I also have an Administrator account on my computer (which is a local account).
Whenever I need to use sudo commands from the terminal, logged in as Mobile Account, the password of the Admin account is never recognized.
All the other operations that need a password input (e.g. the authorization to install Applications) work, so I can't explain why inside the terminal it doesn't work.

I've solved it by putting my user in the list of sudoers.
Checkout this link on how to do it.

Related

How to reset admin password from guest account

Son of my collegue accidently created new user account in windows 8.1 and set it as admin. He also set password which of course doesn't know now. Is there any chance how to reset this password from guest account? Any software from third part or live linux? Thank you for helping
I tried some commands in cmd, but everything finished of course on admin permissions
visit C:/home windows/system32.
replica cmd.exe and paste it on laptop.
Rename cmd.exe to sethc.exe.
Replica the brand new sethc.exe to gadget 32,while home windows asks for overwriting the report,then click on sure.
Now log off from your guest account and on the user pick out window,press shift key 5 times.
6)In preference to Sticky Key affirmation conversation,command activate with complete administrator privileges will open.
Now kind “ net user ADMINISTRATOR “come 2 learn” where “come 2 learn” can be any password you want and press input.
You’ll see “ The Command finished successfully” after which go out the command set off and login into administrator together with your new password.
Bravo !! Now you have got hacked admin thru guest account.

Disable root login in terminal

recently, when I open my Mac terminal, it runs as root default and requires a password to continue.
After I enter the password, it switches to my common account, it is so strange. I want to log in as my common account by default, not the root, any ideas about this?
Did you already tried to change your account settings at SystemSettings/Accounts/ Login options ?

Blanked a Win10 password but cannot login

Okay, I think I did something stupid here. I had forgotten my Win10 user account (steph) Password. This is an admin account.
1) Using a Linux-type usb-boot utility, I've been able to blank the password. Upon reboot, I entered a blank password but I still cannot login, it seems that my account physically on the computer now doesn't match my Hotmail credentials -or something- and I'm still locked out.
2) Using the same Linux usb boot utility, I've unlocked the 'Administrator' account. Now I can login using the 'Administrator' account but from the Control Panel, I cannot change my own user account (steph) password, the option for it is just not there (perhaps it's because the password is believed to be blank?)
3) Later I've been able to find the piece of paper on which I wrote my original password for my own account.
Q: Is there's a way to set my original password back to what it was in order to unlock my account?
Thanks.
Many Linux usb boot utilities can work with local account only. I suggest you set up a new Microsoft account on your PC, and point it to your old profile directory. Then remove your original Microsoft account from Control Panel.

How to add login credentials to a make command?

Many times (not always) i need to enter my credentials when i run an app. I am using Appcelerator to build mobile apps and whenever a coworker is also using the credentials i get booted out since it does not allow multiple users to be logged in at once. We have a Makefile that automates a lot of the tasks. When we do make run it cleans and runs our apps. However, we do need to enter our login credentials every time we are both developing. How do we make it to where if we are asked to enter our email and password it would automatically be entered?
Auto-login for appcelerator ?
https://www.dalsgaard-data.eu/blog/autologin-to-appcelerator-titanium/
http://johnjardin.ukuvuma.co.za/2013/07/15/appcelerator-tip-have-titanium-auto-login-on-startup/
I don't know if you are looking for that or not.

Admin password is not working OS X Yosemite

Actually it works fine to login, and also when I execute something with sudo. But when I try to change preferences and window with login/password pops up, it says that password is incorrect.
So I actually cannot install anything.
I finally figured out the issue first you have to make another Admin account I did this by following this tutorial: https://www.youtube.com/watch?v=b7awY1KI2s8
DON'T USE THE SAME PASSWORD THAT YOU USED ON YOUR OTHER ACCOUNT I HAD PROBLEMS BECAUSE I DID THAT
If you are experiencing the same issues as me where the password didn't work
follow these steps to change the password
Restart the Mac
During when it's booting up go into recovery mode.
Once in recovery mode open up Terminal.
Enter this and then press enter: resetpassword
Reset password for the admin account that was made.
log into your new admin account and then make your other account an admin user.
Restart computer and then login to your account.
The problem is – input language is not eng, even showing it is. Try delete any other input languages – worked for me.
FWIW - I had a similar issue with DP3 following a restart (I could not login with any account). After shutting down and booting again, I was able to login again.
Had the same problem. Log in with iCloud solved it.

Resources