| Linode Forum https://forum.linode.com/ |
|
| Citadel permission denied https://forum.linode.com/viewtopic.php?f=11&t=9216 |
Page 1 of 1 |
| Author: | mirrabooka [ Thu Aug 02, 2012 8:36 am ] |
| Post subject: | Citadel permission denied |
Hello, I am new to the whole concept of setting up a web server, at least in practice, but have been a linux user for quite some time. I have followed all the guides so far to setup my linode, with Debian squeeze. The Apache2 server is installed, so too postgresql and php5. Everything went well after some days installing and troubleshooting minor things. Now came the time to setup my mail server. Chose Citadel to do the job. So far the installation was fine. But I am up to this point: "Configure SSL" in the http://library.linode.com/email/citadel ... -6-squeeze help file. The problem is I cannot as my user (I am not using root) access the /etc/ssl/citadel folder. I can access etc and ssl but when I try to access citadel it says: vanir@freja:~$ cd /etc/ssl/citadel -bash: cd: /etc/ssl/citadel: Permission denied The permission denied only comes up for the citadel folder. I would appreciate some assistance so that I can continue with the installation of the Citadel server. I am sure it is something very easy that I am overlooking, so please excuse my noviceness. Greetings and many thanks in advance, Jasmin |
|
| Author: | zunzun [ Thu Aug 02, 2012 9:46 am ] |
| Post subject: | Re: Citadel permission denied |
try these commands to compare the directory permissions: ls -l /etc ls -l /etc/ssl ls -l /etc/ssl/citadel James |
|
| Author: | mirrabooka [ Fri Aug 03, 2012 8:58 am ] |
| Post subject: | Re: Citadel permission denied |
Thank you James, I will try it. |
|
| Author: | mirrabooka [ Wed Aug 08, 2012 2:16 am ] |
| Post subject: | Re: Citadel permission denied |
Hi James, I tried what you suggested. I could see information inside the /etc and /ssl folders, but it did not list or show anything in the /citadel folder, it came up with the same error, that permission is denied. Do you have another suggestion what I could do? Should I paste something here to view? Greetings, Jasmin |
|
| Author: | obs [ Wed Aug 08, 2012 3:21 am ] |
| Post subject: | Re: Citadel permission denied |
It's quite common for ssl certificates for applications to be only accessible by root (so no one else can read them), so prefix your commands with sudo. |
|
| Author: | zunzun [ Wed Aug 08, 2012 3:56 am ] |
| Post subject: | Re: Citadel permission denied |
The problem is then the permissions for sure. Try using the commands as root, or prefix with sudo as obs suggests above, to see the existing permissions. James |
|
| Author: | mirrabooka [ Wed Aug 08, 2012 4:55 am ] |
| Post subject: | Re: Citadel permission denied |
Hi again, About sudo and root, that is what I tried before I posted my problem to this forum. I have disabled root as per the security settings. Sudo doesnt work in my case. The error that comes up is: vanir@freja:~$ sudo cd /etc/ssl/citadel [sudo] password for vanir: sudo: cd: command not found Shall I try as root and reenable root permissions in the settings? Thank you again for your help. Jasmin |
|
| Author: | obs [ Wed Aug 08, 2012 5:25 am ] |
| Post subject: | Re: Citadel permission denied |
sudo -i will bring you into a root shell without having to enable root, try that. |
|
| Author: | mirrabooka [ Wed Aug 08, 2012 6:19 am ] |
| Post subject: | Re: Citadel permission denied |
Thank you that was very helpful. It worked, using sudo -i ... I was able to do what was required in the citadel folder... As per the installation instructions here: http://library.linode.com/email/citadel ... figure-ssl I tried the next step of: "Commercial Certificate Instructions" but came up with the following error: root@freja:/etc/ssl/citadel# openssl req -new -nodes -newkey rsa:4096 -days 365 -keyout citadel.key -out citadel.csr chmod 600 citadel.key unknown option chmod req [options] <infile >outfile where options are ... followed by a long list of info ... I don't know why this problem is coming up and so searched for a solution in the Linode Library and came up with two possible help files: http://library.linode.com/web-servers/a ... an-5-lenny which is "Help to get get up and running quickly with SSL for Apache on your Linux VPS". and http://library.linode.com/security/ssl- ... commercial which is "Obtaining a Commercial SSL Certificate" I was hoping someone could tell me which help file could help me move forward? Thank you again, Jasmin |
|
| Author: | obs [ Wed Aug 08, 2012 7:22 am ] |
| Post subject: | Re: Citadel permission denied |
Quote: root@freja:/etc/ssl/citadel# openssl req -new -nodes -newkey rsa:4096 -days 365 -keyout citadel.key -out citadel.csr chmod 600 citadel.key unknown option chmod Those are two commands so run Code: openssl req -new -nodes -newkey rsa:4096 -days 365 -keyout citadel.key -out citadel.csr Followed by Code: chmod 600 citadel.key |
|
| Author: | mirrabooka [ Thu Aug 09, 2012 2:56 am ] |
| Post subject: | Re: Citadel permission denied |
Thank you for pointing out the obvious |
|
| Author: | Quadriopitek [ Thu Dec 24, 2015 6:02 am ] |
| Post subject: | Re: Citadel permission denied |
protect your server from cryptowall malware attacks http://nabzsoftware.com/types-of-threats/cryptowall-3-0 |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|