3 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
As far as I know, the only way you're supposed to update the sudoers file is to use visudo.
répondu il y a 5 ans
0
I solved it!
- Stop the running instance
- Make a snapshot
- Create a new instance with all disks from the snapshot using this launch script:
echo 'admin ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers.d/90-cloud-init-users - Detach static IP from old instance
- Attach static IP to new instance
- Check firewall rules of new instance
- Connect to new instance
- Do some cleanup in the sudoers file
- Remove old instance and old disks
Puuuh ;-)
répondu il y a 5 ans
Contenus pertinents
- demandé il y a 7 mois
- demandé il y a 7 mois
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 5 ans
- AWS OFFICIELA mis à jour il y a 2 ans