Quote:
Originally Posted by flycast
I have two questions:
1) I have a user called backuppc. Files that are owned by backuppc show up as "backuppc - BackupPC" on the properties window (debian). I have looked at Users and have seen that there is a field called "Name" that has "BackupPC" in it. Is the files that says "backuppc - BacklupPC" really owned by "backuppc" or by "backuppc - BackupPC"?
|
Which application shows this - nautilus (the file manager in the gnome desktop), konqueror (the file manager in the KDE desktop), or something else?
Quote:
Originally Posted by flycast
2) How do I tell what user runs what program when the programs start automatically at boot or by a cron? Once I find this then how do I change it?
|
Programs started by the
sysvinit system run as root, but some daemons may start processes as other users. e.g. the postgres database usually runs it's daemon processes under the postgres user.
Cron has two main ways to launch jobs. Scripts copied to the /etc/cron.daily, /etc/cron.weekly, ... directories are executed as root. Again switching to another user may be done, but this is something the job itself must implement.
The second cron mechanism, is the user level crontabs. Each user who is permitted to, can have a crontab file (in my debian install these are stored in /var/spool/cron/crontabs/). These files are created and edited from the user account with the "crontab -e" command. These are executed as the user whose crontab it is.