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

Esta resposta foi útil? 0 Utilizadores acharam útil (0 Votos)