mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-23 02:32:44 +00:00
There are certain programs which need the information that is stored in 'struct passwd'. This commit introduces configurable user information support to NOUX. One can set the user information via <user> in NOUX config: ! <config> ! <user name="baron" uid="1" gid="1"> ! <shell name="/bin/bash" /> ! <home name="/home" /> ! </user> ! [...] ! </config> When <user> is not specified default values are used. Currently these are 'root', 0, 0, '/bin/bash', '/'. Note: this is just a single user implementation because each Noux instance has only one user or rather one identity and there will be no complete multi-user support in Noux. If you need different users, just start new Noux instances for each of them.