Linux administrator interview questions shared by candidates
User has lost root password, how do you reset?
init 1, change root password... I missed this one.
"init 1" doesn't always work, if you're not already root some systems will ask you for root password, and if you're not logged into the system ? What always works is to boot of a live CD, mount the file system with /etc, edit the /etc/passwd, /etc/shadow file.
Actually the easiest way to do this is to single the box in run-level 1 then use the standard passwd tools to update the hash. That's far simpler than using a live cd and editing the shadow file. This a network based kvm. is an operation that can be done at the DC or over ipmi or
See Interview Questions for Similar Jobs
- Linux Systems Administrator
- Systems Administrator
- Linux Systems Administrator I
- Linux Administrator
- Software Engineer
- Systems Engineer
- Linux Systems Engineer
- Windows Systems Administrator II
- Software Developer
- Cloud Support Engineer
- Technical Support Engineer
- Site Reliability Engineer
- Windows Systems Administrator I
- Software Developer III
- Senior Systems Administrator