|Perl Monk, Perl Meditation|
Is it multi-user?by pileofrogs (Priest)
|on Dec 04, 2005 at 17:42 UTC||Need Help??|
pileofrogs has asked for the wisdom of the Perl Monks concerning the following question:
I'm writing some tests of file ownership, which obviously are pointless if the system isn't a multi-user system. Is there a best way to determine if the system my thing is running on is in fact a multi-user system?
Update: Thanks for your responses! I'll try to clarify my question:
Another Update: Oh, and you can have Os's with multiple file systems, some of which do and some of which do not support the idea of file ownership.... Ugh...
I think I'd really like a command or set of commands that will succeed in on a system that supports the idea of file ownership and fail on a system that does not.
Yet Another Update: When I say, I'd like to avoid checking a big list of operating systems, I mean I'd like this to work on an OS I've never heard of. I'd like it to work on an OS that doesn't exist yet.