Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> /etc/group And /etc/passwd Suid +sgid
robbarry
post Apr 12 2003, 09:35 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 6
Joined: 11-March 03
Member No.: 538



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.
Go to the top of the page
 
+Quote Post
digitalturbulenc...
post Apr 17 2003, 04:44 AM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 21
Joined: 5-April 03
Member No.: 633



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)


--------------------
Free disposable email addresses to
stop spam mails!
Try it: TrashMail.net
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd October 2017 - 05:45 PM