[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Adding/Modifying/Deleting Users from shell or script
- Subject: Re: [cobalt-users] Adding/Modifying/Deleting Users from shell or script
- From: Gerald Waugh <gwaugh@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue Oct 22 09:10:53 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
On Tue, 22 Oct 2002, Ryan Howe wrote:
> I have created a MySQL database to manage users for billing purposes. The
> frontend is webbased simular to the current Raq GUI but with some additional
> information. My question is how can I use the current perl scripts on the
> Raq to add/modify/delete users? It appears that you have to be in root in
> order to use the Cobalt::Meta.pm but I don't want to use a system() command
> as root to use these scripts because of security. Also I have seen
> references to the Raq.shell-tools which appear to be exactly what I need but
> again they would need to be run as root. How does the current GUI add users
> the the domain with only site administrater permissions? I have tried
> running the scripts and logging in as admin which would should work, as
> admin can add to any domain, but this does not work. Any advise would be
> greatly appreciated. Thank you
>
Even though you are logged into the GUI as admin the cobalt scripts are
ran as root.
Maybe you could write to the database.
Then have a cron job that makes the additions.
Wouldn't happen right away. But you send them an email when it's
complete
Gerald
--
http://frontstreetnetworks.com | http://raqware.com
Front Street Networks LLC | Phone: +1 203-785-0699
229 Front Street, Ste. C, New Haven, CT. 06513-3203