[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get original user (linux 2.4.20 kernel)



On 5/5/06, Linux Dang <linuxdang@xxxxxxxxx> wrote:
Hi,
    I am looking for some way to extract original user for a given
process. For example,
A user types following command

i   ) guest log's in as "aaa"
ii  ) su - "bbb"
iii ) su - "ccc"
iv ) ./a.out

I want to find the actual user i.e. "aaa".

Why?



Can this be acheived on Linux 2.4.20?

I don't think so, but I'm not 100% sure.


If you could do that, then "su" would kind of loose its meaning...

--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/