Hi Atef,
The latest versions of SOGo configure the user "sogo" as a daemon user.
As you can see it /etc/passwd
sogo:x:999:999:SOGo daemon:/var/lib/sogo:/usr/sbin/nologin
this user has no login shell and therefore cannot be used with sudo.
If you are root or can get root (sudo -i) then you can use the command
su to act as the user sogo.
Example
su -p -c sogo
will execute YourCommand as the user sogo
Here some more examples
su -p -c 'defaults write sogod SOGoTimeZone "Europe/Berlin"' sogo
su -p -c 'defaults write sogod SOGoMailDomain "yourdomain.com"' sogo
su -p -c 'defaults write sogod SOGoLanguage "English"' sogo
So you see, it is very easy but at the moment not correct in the
documentation.
I hope I could help you.
Kind regards
PCFreak
On 13.05.2013 04:02, Atef wrote:
Hi,
I'm installing sogo using these steps;
sudo apt-key adv --keyserver keys.gnupg.net --recv-key 0x810273C4
sudo su
echo "deb http://inverse.ca/ubuntu precise precise" >> /etc/apt/sources.list
exit
sudo apt-get update
sudo apt-get install sogo sope4.9-gdl1-mysql memcached rpl
mysql stuff...
Then when i want to begin configuration;
i do
sudo su sogo
result >> This account is currently not available.
I tried to look for /home/sogo.. but not found
I have only "/home/paul" which is my home..
so, I have followed the guide without doing "sudo su sogo"
defaults write sogod SOGoTimeZone "Europe/Paris"
And I found the file created " /home/paul/GNUstep/Defaults/.GNUstepDefaults"
But after this i'm not able to login with the web interface.
Please tell me how can I configure Sogo correctly (Steps to follow in order to
create a configuration file in the right place..)
Thanks in advance!
Best regards,
--
users@sogo.nu
https://inverse.ca/sogo/lists