?

Log in

No account? Create an account
 

Server is now fully up and running! :o) Couple of questions though:…

About  

Previous Entry Nov. 5th, 2002 @ 07:08 am Next Entry
Server is now fully up and running! :o)

Couple of questions though:
  1. How can I create new user accounts if the system is closed?
  2. I saw information in the documentation about admin privileges... how do you set them?
Leave a comment
[User Picture Icon]
From:lucretio
Date:November 5th, 2002 10:15 am (UTC)
(Link)
1. My guess is that you could write a Perl script that accepts 3 arguments (username, email, and password) and calls FB::create_user()

Ex:
  FB::create_user({
       'usercs' => 'fooname',
       'email'  => 'user@foo.bar',
       'pass'   => 'ezpassword'
  });


I looked at htdocs/create to see how users are created.
[User Picture Icon]
From:lucretio
Date:November 5th, 2002 10:27 am (UTC)
(Link)
2. It doesn't seem like there is an automatic way to make the system account, but you can look at livejournal/bin/upgrading/make_system.pl to see how it might be done. I'm not sure how easily that translates to FB, though.
[User Picture Icon]
From:lucretio
Date:November 5th, 2002 10:29 am (UTC)
(Link)
That didn't quite answer your question.

So, login as the newly created system account and grant privs to others (htdocs/admin/priv/).
(Leave a comment)
Top of Page Powered by LiveJournal.com