Hi all,

This is a first attempt to implement the so required "creation of
users and groups on demand". I've introduced a file named
Resources/Requirements which, for now, only recognizes two arrays
named "required_users" and "required_groups".

Entries in "required_groups" can have a gid parameter, as seen in this example:
required_groups=(
    "users"
    "solo"
    "yes gid=90125"
)

Individual entries in "required_users", on the other hand, can have
uid=<num> and groups=<name[,name]*> options, as in:
required_users=(
    "scripts"
    "wakeman uid=2112 groups=yes,solo"
)

I believe this is enough at least for the most common cases. I didn't
cover cross-compiling in this implementation, but that can come later
as needed. Comments?

-- 
Lucas
powered by /dev/dsp

Attachment: Scripts-Requirements.patch
Description: Binary data

_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to