Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 07-28-2005, 08:51 AM   #1
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 08:53 AM.


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 05:54 AM
suid/sgid question plan9 Linux - Security 1 07-08-2004 08:15 AM
porttime in Shadow utils dosent work javalino Linux - Security 1 05-15-2004 05:14 PM
sgid/directory security connman Linux - Security 2 04-15-2004 12:42 PM
SGID and SUID on Directories mikeyt_333 Linux - General 1 03-26-2002 03:41 PM

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

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