Process to give a root password
Assume I lost a root password and i require to give it, I tried to alter it through single user mode even though i am not obtain a password, then what is the other process to give a root password?
Expert
Login to single user mode and attempt below things:
A. passswd [ Change Password for root ] B. rm -rf /etc/nologin C. remove any "nologin" shell for root user into /etc/passwd file D. chage -l root then chage -E root E. passwd -u root F. chattr -i /etc/passwd /etc/shadow G. chmod 600 /etc/securetty H. vim /etc/rc.local --> then eliminate any line like say " /etc/nplogin " I. chsh root [ /bin/bash ]
Normal 0 false false
Describe climax stage of an ecological succession. Discuss in detail.
During the year 1980 period, what did the FED Chairman Paul Volcker do to decrease double digit inflation of 1970’s? What was the name of the person and or the economic school’s approach which Volcker employed?
Operating System Design Fall 2010 Project Organizational, Structural, Logical and Execution Relationships Between Important System Components in Linux Kernel
Hi sir I want small help sir : puplic nutrition paper some questioln dont know sir , so help me sir , public nutrion question in 10th question, a,b,c
Task: In the lecture on User Interfaces, three classes of an operating system user were identified, end-user, programmer/developer and administrator. You are required to produce a repor
How do biodiversity, total number of living beings and biomass correspondingly differ throughout the ecological succession?
18,76,764
1929757 Asked
3,689
Active Tutors
1416916
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!