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

War diese Antwort hilfreich? 0 Benutzer fanden dies hilfreich (0 Stimmen)