LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 07-28-2005, 07:51 AM   #1
PhoenixHawk
LQ Newbie
 
Registered: Apr 2004
Location: Germany
Distribution: Debian
Posts: 6

Rep: Reputation: 0
Why does sgid shadow not work?


Hello all.

Short what we want to do: Install qmail with vpopmail and let vpopmail authenticate any non-virtual user against the system users for smtp-auth.

Therefore the auth-tool vchkpw must be able to read /etc/shadow to compare the passwords. This should be done by sgid shadow.

Problem ist: vchkpw won't execute with sgid shadow (or even wont execute with suid root!) when called from qmail-smtpd.

When it's called from commandline as a normal user sgid/suid works all fine, except in the case when we want to strace it: then sgid/suid refuses to work too.

What can be the problem?

Last edited by PhoenixHawk; 07-28-2005 at 07:53 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/etc/shadow- (notice the dash after the word shadow) shellcode Linux - Security 1 09-03-2004 04:54 AM
suid/sgid question plan9 Linux - Security 1 07-08-2004 07:15 AM
porttime in Shadow utils dosent work javalino Linux - Security 1 05-15-2004 04:14 PM
sgid/directory security connman Linux - Security 2 04-15-2004 11:42 AM
SGID and SUID on Directories mikeyt_333 Linux - General 1 03-26-2002 02:41 PM


All times are GMT -5. The time now is 04:26 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration