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

Re: [cobalt-users] Perl to check whether a user is administrator



On Sun, 4 Aug 2002, Zhang Shiping wrote:

> Hi all,
>
> In RaQ4 a site can have many users and one of the user
> can be the site administrator. I Perl script how to
> check whether a user is or is not the administrator
> for a site?
>

Parse the /etc/passwd file.

--
Gerald Waugh <gwaugh@xxxxxxxxxxxxxxxxxxxxxxx>
http://frontstreetnetworks.com | Website Hosts & SOHO Networks
229 Front Street, Ste.#C, New Haven, CT. 06513 United States
voice +1 203-785-0699 | fax +1 203-785-1787