Top
||
Section Contents
||
Permuted Index
SavaJe OS
1.1.0
newuser create a new user profile
newuser [username
]
Create a new user (and become that user).
The newuser
command creates a dialog and
asks for the username (if not supplied on the command line) and
a password and password confirmation.
If the directory /ramfs/users/
username
does not already
exist, it will be created. This directory is the home directory
(system property user.home
).
When the newuser
command is completed, the current user
(as shown by
whoami(shell)
is changed to the new user.
To customize the user environment, you can create and edit the file
savaJe/user.props
in your home directory.
The user directory contains
the directory savaJe
and the file savaJe/user.props
,
where users can define system-wide properties for customization
purposes. A user directory for the user someuser
would look
like this (annotations follow the #
characters):
/ramfs/users/someuser # the user directory savaJe/ user.props # user properties
The user.props
file sets system properties. Each line in
the user.props
file is of the form prop_name=prop_value
.
Some of these properties may be application-specific (i.e., applications
may check these properties to allow customization for specific users).
The following lines are examples from the file user.props
:
MyApp.saveDir=/ramfs/users/someuser/ myproperty=I am someuser Games.dir=/ramfs/users/someuser/games/
cd(shell)
login(shell)
login(doc)
passwd(shell)
prop(shell)
whoami(shell)