Three areas need to be modified:

/etc/passwd

/etc/shadow

/etc/sudoers

 

1./etc/passwd and/etc/shadow

Change the first line of root to a new username separately

2./etc/sudoers

root ALL=(ALL) ALL

New username ALL=(ALL) ALL

Je li Vam ovaj odgovor pomogao? 0 Korisnici koji smatraju članak korisnim (0 Glasovi)