Hi, I need to modify the /etc/sudoers with some config, but all changes are lost after reboot.
Is there a way to keep it permanent?
Thanks in advance.
How to update de /etc/sudoers file?
-
- Posts: 2
- youtube meble na wymiar Warszawa
- Joined: Wed May 22, 2019 3:13 pm
- father.mande
- Posts: 1817
- Joined: Sat Sep 12, 2015 2:55 am
- Location: La Rochelle (France)
Re: How to update de /etc/sudoers file?
Hi,
BUT search for other solutions and examples ...
You can also create a fake apkg (using the tool provide by Asustor) if you want to have more options.
I will suggest you to don't change sudoers file itself but (like I do in myHD apkg) to add your own file in /etc/sudoers.d/ ... so you can dynamically change it and don't have risk to break the original and lost some things and solve problem if another apkg or Asustor program change back your own modification is /etc/sudoers file.
Philippe.
Search forum, they are some explain on how-to run your own script at boot like this one : viewtopic.php?f=49&t=1681&start=20#p2381juanheredia wrote:Hi, I need to modify the /etc/sudoers with some config, but all changes are lost after reboot.
Is there a way to keep it permanent?
Thanks in advance.
BUT search for other solutions and examples ...
You can also create a fake apkg (using the tool provide by Asustor) if you want to have more options.
I will suggest you to don't change sudoers file itself but (like I do in myHD apkg) to add your own file in /etc/sudoers.d/ ... so you can dynamically change it and don't have risk to break the original and lost some things and solve problem if another apkg or Asustor program change back your own modification is /etc/sudoers file.
Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
-
- Posts: 2
- Joined: Wed May 22, 2019 3:13 pm
Re: How to update de /etc/sudoers file?
Thanks for you advise, I'll try it.