[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] crontab editor



> 
> >There is one for each user, in the user's home directory. The ~ in 
> >front of the / simply means 'my home >directory'. The . 
> (period) is the 
> >first character of the filename, and makes it a hidden file. I think 
> >the file >is  more commonly called .profile  If you don't 
> have any of 
> >these two files, you can just create one of them.  Do an 'ls 
> -a' to see 
> >hidden files also.
> 
> Many thanks for your reply.
> 
> So if I wanted to add this command to only the admin or root 
> user, where would I create this file? Would I create it in 
> /home/sites/home/users/admin ?
> 
/home/sites/home/users/admin is for the admin user
/root is for the root user. The admin and root are really two different users, on cobalts they only happen to have the same password (assuming you use the GUI to change the password)

If you look in /etc/passwd , you will see the home directory of each user. So you probably want to edit or create this file in both of these directories.

-Vidar