Quote:
Originally posted by dee3lmo
...How can I create this user and what rights should I give the user...?
|
If you would like to give a plain user some admin rights I would suggest you look at the
sudo command. For the user you are talking about I would suggest you give that user exactly as much rights as it needs and no more. You shall, as much you can, avoid to have multiple administrator, and since I'm quite sure your user will not do ALL administration just change the appropriate files so that they can be read by your new (fake-)admin user.
For example you could create a group called "log", and add just read rights for that group recursive in
/var/log.
Quote:
Also, a long time ago I read some post telling that some services must be started as non root user, but how is it possible to start some services as not root at system boot? And which services should I start as non root user?
|
I would suggest you have a look in
/etc/init.d, this is the directory where scripts which are run at boot are, look at them - they are normally plain bash-scripts. Also check
man init.
Also you can use the
sudo command to run a command as a different user. If you are root you can do a
Code:
# sudo -u plain_user echo "This echo-command is run as the plain_user and not as root"
I hope this helps.
/Jens