well, believe it or not, I have another question :)
when I use the 'mail' command, my system looks at /var/spool/mail/user1 to find the mail.
I have two folders in /media that I created previously, /media/usb1 and /media/usb2. Tried to create a 3rd folder today and I'm getting permission denied, using both sudo and then logged in as root.
It's owned by 'nobody' and I'm wondering if it could explain difficulty I'm having in shutting down.
drwxr-xr-x 2 root root 4.0K Nov 28 09:59 bin
drwxr-xr-x 4 root root 4.0K Jan 16 08:28 boot
drwxr-xr-x 2 root root 4.0K Mar 31 2012 cdrom
drwxr-xr-x 15 root root 4.4K Jan 16 13:23 dev
drwxr-xr-x 175 root root 12K Jan 16 13:24 etc
drwxr-xr-x 6 root root 4.0K May 22
I am facing an unusual problem.
I have an Ubuntu server running postfix. It is not the mail server for my domain.
Whenever a cron job runs for root, the output is sent to root@mydomain.com (that is, mail is not delivered locally, but sent to mydomain.com's mail server).
In Fedora and FreeBSD,
I can receive mail from daemons.
And if my scripts scheduled in crontab go wrong,
the error message is mailed to root.
But in Ubuntu 9.04,
the command `mail -u root` gets "No mail for root",
and the folders /var/mail and /var/spool/mail are both empty.
Is it that I have to install some packages ,
I have an external fat32 hard drive. It already has some files on it. Now, I mounted it and it shows the owner to be root. fine. but when I change the permissions, it does not seem to change it. I am not able able to access the directories, even as root !.
I have an Ubuntu server running postfix. It is not the mail server for my domain.
Whenever a cron job runs for root, the output mail is not delivered locally, instead it gets sent to root@mydomain.com via the main mail server.
I managed to order a new VPS account from linode
I have installed Ubuntu 10.04 LTS with 'LAMP Stack' StackScript.
I notice the website directory is located in /srv/www/ and I thought this is quite strange.
How do I check if /srv/www/ is secure?
If I create a new directory or files in /srv/www/ (logged as root), what permission/user do I need to set?