dgamelaunch: define user/group by name instead of UID/GID.
The user and group might not be created with the UID and GID expected, so it is better to use names. They can be changed to numeric values after installation.
This commit is contained in:
parent
f3870d8046
commit
b47c2cba8a
1 changed files with 10 additions and 13 deletions
|
|
@ -1,11 +1,5 @@
|
||||||
# rlgallery.org dgamelaunch configuration file
|
# rlgallery.org dgamelaunch configuration file
|
||||||
|
|
||||||
# This is a sample dgamelaunch configuration file. Only bash-style comments
|
|
||||||
# are allowed, such as this. Each configuration option will be explained
|
|
||||||
# along with its default value.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Global config variables:
|
# Global config variables:
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -75,14 +69,17 @@ banner = "/dgldir/dgl-banner"
|
||||||
# Note that shed_uid and shed_gid will always take precedence over
|
# Note that shed_uid and shed_gid will always take precedence over
|
||||||
# shed_user and shed_group if they are specified.
|
# shed_user and shed_group if they are specified.
|
||||||
|
|
||||||
# shed_user: username to shed privileges to
|
# Use names, because the numeric ID's are not really predictable. They can
|
||||||
#shed_user = "games"
|
# always be substituted after installation.
|
||||||
# shed_group: group name to shed privileges to
|
|
||||||
#shed_group = "games"
|
|
||||||
|
|
||||||
# Preferably, you may use the respective gids/uids. This is for Debian:
|
# shed_user: username to shed privileges to
|
||||||
shed_uid = 501
|
shed_user = "rodney"
|
||||||
shed_gid = 501
|
# shed_group: group name to shed privileges to
|
||||||
|
shed_group = "rodney"
|
||||||
|
|
||||||
|
# Preferably, you may use the respective gids/uids.
|
||||||
|
#shed_uid = 501
|
||||||
|
#shed_gid = 501
|
||||||
|
|
||||||
# Locale. Leaving this out, dgamelaunch will not explicitly set locale.
|
# Locale. Leaving this out, dgamelaunch will not explicitly set locale.
|
||||||
locale = "en_US.UTF-8"
|
locale = "en_US.UTF-8"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue