bug-coreutils
[Top][All Lists]
Advanced

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

[PATCH] su: dynamically looks for username holding uid 0


From: Lucas C. Villa Real
Subject: [PATCH] su: dynamically looks for username holding uid 0
Date: Mon, 31 Jul 2006 12:06:14 -0300

Hi there,

This patch has been written in order to allow 'su' to dynamically look
for the username which has uid=0, instead of assuming it's named
'root' when no username is specified in the cmdline. The default name
is still used if getpwuid(0) fails, so there's no modification on this
program's behaviour.

Thanks,

--
Lucas
powered by /dev/dsp

Attachment: 02-dynamic_super-user.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]