Book now with code EOY2025
NightShade03 wrote: » Correct me if I'm wrong but I have also noticed that if you give system accounts a password, valid shell, and the ability to login you can't completely reverse the process. By that I mean I think you would have to lock the account and change the shell back afterwards.
exampasser wrote: » I tried it out and I got the message saying only the root can do that, even though I already was logged on as root.
Forsaken_GA wrote: » If root can't issue the shutdown system, then you've got something else going on. Is this your own personal machine, or a machine that's live in production?
Forsaken_GA wrote: » Nah, just use passwd with the --delete option and it'll remove the password for the account. When I need to disable a login, I usually just edit the shadow file and add something like DISABLED- before the hashed password, has the same effect, and lets me reenable the account again quickly if I need to. (and i just found out that specifying the path to the shadow file makes the forums unhappy!)
NightShade03 wrote: » --delete ? Really ?! I didn't see any such option in the documentation...I will totally need to try this out! Thanks!
Use code EOY2025 to receive $250 off your 2025 certification boot camp!