Share your knowledge at the LQ Wiki.
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, 07: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 07: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 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 > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:30 PM.

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