Timeline for sed to change userid in /etc/passwd to zero
Current License: CC BY-SA 3.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 10, 2017 at 19:49 | vote | accept | irom | ||
| Oct 10, 2017 at 15:53 | answer | added | hschou | timeline score: 1 | |
| Oct 10, 2017 at 15:45 | comment | added | DopeGhoti | Perhaps the UID of a non-root user being changed from zero is part of the aforementioned hardening because, as also previously mentioned, this is a terrible idea which is bad and implementing it should make you feel bad. Why do you think this is a necessary thing? | |
| Oct 10, 2017 at 14:43 | comment | added | Raman Sailopal | How have you added the user to the admin group? With groupmod? | |
| Oct 10, 2017 at 14:38 | comment | added | irom | I am using proprietary RHEL5 like hardened system where I added user as admin with uid 0. After reboot uid is changed backed to non-zero | |
| Oct 10, 2017 at 14:19 | comment | added | NickD | Why do you "need" to change userid to 0? I bet if you explained the problem you are really trying to solve, somebody would come up with a better idea of how to solve it. | |
| Oct 10, 2017 at 14:17 | comment | added | irom | I need to change userid to zero, can't use usermode. | |
| Oct 10, 2017 at 14:15 | comment | added | Stéphane Chazelas | You're confusing sed with ed | |
| Oct 10, 2017 at 14:13 | comment | added | Raman Sailopal | Use usermod -u. That's what it is there for | |
| Oct 10, 2017 at 14:11 | comment | added | Shadur-don't-feed-the-AI | ... This sounds like a tremendously bad idea if you accidentally succeed. What are you actually trying to accomplish? | |
| Oct 10, 2017 at 14:07 | history | asked | irom | CC BY-SA 3.0 |