Help - Search - Members - Calendar
Full Version: /etc/group And /etc/passwd Suid +sgid
Linuxhelp > Support > Technical Support
robbarry
I know this is unsafe but as root i want to give the user's the ability to add themselves to new groups i.e
gpasswd -a user1 group2. My question is how do i set the suid and sgid bits ,and on which files would i have to set them.Thanks.
digitalturbulence
try to put /usr/sbin/groupadd in setuid

chmod 4755 /usr/sbin/groupadd

But I think it's very dangerous what you are doing! (very unsecure)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.