lkml.org 
[lkml]   [2003]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Strange behavior observed w.r.t 'su' command
    Andreas Schwab wrote:

    >mru@kth.se (Måns Rullgård) 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.
    >
    >Andreas.
    >
    >
    >
    But why is it that after 'su - root', running 'ps' shows 'su' as a
    separate process, whereas, 'su - otheruser' and then 'ps' does not show
    'su' in the process list ??
    In plain words, why does this happen only for su to root ?

    /Raj


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:58    [W:0.025 / U:0.108 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site