mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: mru@kth.se (Måns Rullgård)
Cc: linux-kernel@vger.kernel.org
Subject: Re: Strange behavior observed w.r.t 'su' command
Date: Fri, 28 Nov 2003 12:56:12 +0100	[thread overview]
Message-ID: <je8ym0671f.fsf@sykes.suse.de> (raw)
In-Reply-To: <yw1xy8u021eb.fsf@kth.se> ( =?iso-8859-1?q?M=E5ns_Rullg=E5rd's_message_of?= "Fri, 28 Nov 2003 12:11:40 +0100")

mru@kth.se (Måns Rullgård) writes:

> Andreas Schwab <schwab@suse.de> writes:
>
>>> It appears that my su exec()s the shell, whereas the redhat and gentoo
>>> su fork() and exec().
>>
>> Yes, your su probably does not support PAM.
>
> I don't think it does.  I still don't see the need to fork when using
> PAM.

Because PAM needs to do some cleanup after the shell has exited.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

  reply	other threads:[~2003-11-28 11:59 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-28  8:30 Raj
2003-11-28  9:15 ` Måns Rullgård
2003-11-28 10:57   ` Tim Cambrant
2003-11-28 10:54     ` Andre Tomt
2003-11-28 10:33 ` Andreas Schwab
2003-11-28 10:47   ` Måns Rullgård
2003-11-28 10:53     ` Andreas Schwab
2003-11-28 11:11       ` Måns Rullgård
2003-11-28 11:56         ` Andreas Schwab [this message]
2003-11-28 11:22       ` Raj
2003-11-28 11:52         ` Andreas Schwab
2003-11-28  9:39 Bradley Chapman
2003-11-28  9:54 ` Måns Rullgård
2003-11-28  9:59 ` Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=je8ym0671f.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mru@kth.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome