On Tue, 2002-12-17 at 15:08, Susanne Oberhauser wrote:
> Nevertheless would you agree with me that for systmes claiming to run
> on *Linux*, relying on the existence of a user 'root' should be ok?
> This would allow portable software to have just *one* platform
> specific backend for *all* flavors of Linux, and would ease porting of
> such software to Linux.

Its a very bad habit but generally safe. If you want be more correct you
canuse getpwuid(0) and ask the OS what root is

Reply via email to