Skip to Content.
Sympa Menu

sm-grimoire - [SM-Grimoire] A few new optional options for create_account in devel sorcery.

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Eric Schabell <eschabell AT sourcemage.org>
  • To: SM-Grimoire <sm-grimoire AT lists.ibiblio.org>
  • Subject: [SM-Grimoire] A few new optional options for create_account in devel sorcery.
  • Date: Thu, 11 Mar 2004 11:10:18 +0100

Howdy all,

We have added a few new options (optional), made the default home
dir for user accounts created in spells /var/run/<account-name> and the
default shell /bin/false. Bashdoc for create_account:

function create_account()


$1: system account
$2: [home directory]
$3: [shell]

Returns:

0 if success (or account already exists).
1 if failed (or account has not been defined).

Description

Creates account (if account has been defined).

If you want to override the defaults, just pass them to us! ;-)

I thought you might want to update the spell interface when this hits
stable.

--
/**
* Eric D. Schabell M.Sc.
* Sorcery Lead - Source Mage GNU/Linux
*
* Source Mage : http://www.sourcemage.org
* Shopping : http://www.cafeshops.com/sourcemage
* irc.freenode.net (#sourcemage)
* nick -> erics
**/




Archive powered by MHonArc 2.6.24.

Top of Page