![]() |
|
is there any way i can change root password of linux - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45) +--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449) +---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4) +---- Thread: is there any way i can change root password of linux (/showthread.php?tid=6009279) |
is there any way i can change root password of linux - Debby Ryan - Sep 19, 2019 is there any way i can change root password of linux every 15 or 7 days via cronjob or any script which i can run. or if the root password is changed it sent out email with new password how i can do this? RE: is there any way i can change root password of linux - CyberStrike - Sep 19, 2019 Linux has policies, much like GPO's in Windows, the following article should help. https://www.ostechnix.com/how-to-set-password-policies-in-linux/ RE: is there any way i can change root password of linux - Debby Ryan - Sep 20, 2019 i meant if someone changes the root password it sends out that new password via email. i want to run some kind of script in background so that i can have some access hope you understand Or a cron job after every 7 days the password gets checked if its changed then it automatically changes to my described password RE: is there any way i can change root password of linux - __Digital__ - Sep 20, 2019 (Sep 20, 2019 05:08 AM)Debby Ryan Wrote: i meant if someone changes the root password it sends out that new password via email. why not just add a second root account??? it will save you time and you will always have root. RE: is there any way i can change root password of linux - Debby Ryan - Sep 20, 2019 you mean wheel group account in cent os? RE: is there any way i can change root password of linux - SIM-574702 - Sep 20, 2019 You just need sudoer account and you can invoke commands as root without knowing root's password. Only problem is that someone can change both root's and your password and then you lose access. Providing more context as to why you need to to this might allow us to give you solution you are no even considering yet. RE: is there any way i can change root password of linux - Debby Ryan - Sep 21, 2019 Thanks guy i found a way Resolved |