3 ms·
WTF am I reading. What about su?
by qb45 10y ago
WTF am I reading. What about su?
- detaro 10y agoRequires the root password, which possibly wasn't provided?
- deleted 10y ago[deleted]
- wyldfire 10y agoYes, that's correct. If they'd provided the root password it would've been a trivial recovery.
- qb45 10y agoUm, ok. I'm not up to date with the state of the art in Unix administration so is this some new Good Practice™ to have an account with unlimited sudo instead of a root password or just another instance of unrealistic interview question? And speaking of solutions: stop vi with ^Z, do whatever you want in the shell, resume vi, finish editing, write, quit :)
- detaro 10y agoSome distros don't even set a root password in the default configuration, and I generally would expect in all larger environments that if a root password exists, it isn't easily accessible to an individual admin. If someone leaves, you just have to turn off their account and not replace the root password everywhere.
- qb45 10y agoMakes sense, thanks.