[SOLVED] Dropbox - can't run as normal user, but as root

I have problems with running dropbox as normal user. I installed dropbox from AUR. It is successfully installed. But when I type in terminal dropboxd I get:
WARNING: Cannot write to "/home/USERNAME/.dropbox/dropbox.pid"
I can run dropboxd as root from terminal, but that way default Dropbox folder is created with root permissions in my /home directory. Is there some way to run dropbox as normal user and having Dropbox folder with permissions for my user?
Last edited by archiebald (2010-02-18 22:50:33)

Thanks toad and pickboy87 for advices. It's my fault, and lack of concetration after long hours of staring at screen.
Solution is this:
sudo chown -R USERNAME /home/USERNAME/.dropbox
Btw. Ubuntu do all automatically, with Dropbox install, all I need is to follow on screen directions, and next, next.:lol:
edit:
everything works out of the box with dropbox install on other Arch machine i tried, probably I messed something with configuration somewhere before.
Last edited by archiebald (2010-02-18 23:05:13)

Similar Messages

  • Can't run command because user is in read-only mode.

    Hi
    I try to execute any sql statment i am getting this error.
    Can't run command because user is in read-only mode.

    user493528 wrote:
    I am having the same issue with Benthic when I do the With clause.
    I understand this is not related to Oracle but did anyone had issue related to this. I am getting the same error. Is it related to ODBC driver of how Benthic use to connect etc.,? I do not know.
    Thanks
    Gopihttp://www.benthicsoftware.com/support.html

  • Pse help! I boot my computer with apple + s and I can't return to normal user access

    I need your helpy I boot my computer with (apple + s) and now I can't return to normal user access again because on the sceen I don't see my session

    Thank you for answer but it's not possible to write anything because I get an invite to put a password (without my name) and an invite for Guest. The problem is I cant put the right password because my keyboard is azerty et in my password content the euro symbol (€) and (&). So I think there is the problem. I also think if I can return in normal boot (I mean with my own session) everythings will OK for me. Can you help me? Sorry for my english my mother language is french so I have some little difficulties to translate

  • Running admin server user as non-root

    Hi All,
    I have a requirement to run admin server user as non-root. Is this possible and how to go about it.
    giovi

    Web Server traditionally runs with a process parentage something like:
    Admin Server -> WatchDog -> Primordial Process -> Worker Process
    The Worker Process runs with the UID specified in the configuration (nobody, webservd, etc). This is the process that is actually doing the work of being a web server.
    The Primordial Process typically runs with the UID specified in teh configuration. The primordial process never handles requests. Its role is to quickly create replacement worker processes if the worker process unexpectedly terminates.
    The WatchDog process typically runs with privileged (read "root") access in order to be able to bind to the privileged ports of the OS (any port below 1024). Without privileged access no bind can occur. Once the Watchdog performs the bind it creates the Primordial process, delegates ownership of the port, etc. From then on its role is to watch for unexpected termination of the Primordial process and, if needed, create a new one.
    The Admin server is an optional part of the configuration. When used, it also needs to have the necessary rights to bind to the privileged ports.
    So then - the only way to allow the Admin Server or the Watchdog run non-privileged and still be able to perform their jobs is to loosen the restrictions on the privileged ports themselves. On Solaris 10 you could do this with:
    # usermod -K defaultpriv=basic,net_privaddr webservd
    Then become webservd and start the process.
    Note that the Admin Server's UID is set in admin-serv/config/server.xml (there may be a screen for this in the GUI). Look for the <user>root</user> element.

  • Firefox/Mozilla won't run as normal user [SOLVED]

    I have had this weird thing happen, where Mozilla and Firefox wont' work as a normal users.  I fixed this temporarily by allowing non-group rwx access to /tmp, however somehow the problem has returned again. 
    Has anyone else had this?  I'm not sure what log to check for errors either.  Basically, is starts loading, then exits before starting

    seems to be fine here
    -- no firefox folder
    > ls -ld .mozilla                                                                                                               
    drwxr-xr-x  5 yohoho users 184 2006-03-06 19:39 .mozilla/
    >ls -l .mozilla
    total 8.0K
    -rw-r--r--  1 yohoho users  335 2005-02-26 05:39 appreg
    drwxr-xr-x  3 yohoho users  144 2005-02-26 05:39 firefox/
    -rw-------  1 yohoho users 1.9K 2006-03-15 10:21 pluginreg.dat
    drwxr-xr-x  2 yohoho users   48 2005-06-23 05:31 plugins/
    drwxr-xr-x  2 yohoho users   80 2006-01-15 18:41 searchplugins/

  • Adobe Updater can be run only by users with administrator rights error on 2003 termianl server

    I just installed the latest security update of 8.1.7 on my two terminal servers. Now when each users logs in, they get the following error.
    Insufficient Rights (title)
    Adobe Updater can be run only by usrs with administrator rights.
    They simply click OK and it goes away but it is very annoying. It seems like every time their is an update to Adobe Reader, something goes wrong.
    Does anybody have any thoughts on how to stop the Adobe Updater from loading when my users login? Thanks,
    Justin

    I ended up finding the solution at this link.
    http://forums.adobe.com/message/1770665
    Erech_Belt said
    5. Aug 14, 2008 7:22 AM in response to: (LeaAnn_Coldren)
    Re: Insufficient Rights Window for non-admins after 8.1.2 successful install
    Here is the solution I found.
    "Renaming %program files%/Common Files/Adobe/updater5 to something else removed the error."
    This seems like a brute force approach, but it does work. I checked the event logs after doing this and don't see any errors in the App or System logs. This folder is the location of AdobeUpdater.exe and all of the Adobe .cer files, so it makes sense that this works, but seems like it should generate other errors...
    This is not how I wanted to solve the problem but it did solve it.
    Justin

  • [Solved] xf86-video-ati low fps under normal user, fine under root

    Hi again. someone must had played HL1. So did I, but I had to run it under root to get the sufficient performance. I tried both OpenGL and DirectX drivers.
    At 640x480 the FPS is ~5. At 1024x768 it's "1".
    after some digging I found that glxinfo produces different output for me and for root:
    # glxinfo
    OpenGL vendor string: Mesa Project
    OpenGL renderer string: Software Rasterizer
    # sudo glxinfo
    OpenGL vendor string: DRI R300 Project
    OpenGL renderer string: Mesa DRI R300 20060815 x86/MMX/SSE2 TCL
    How do I permit the normal user to utilize HW acceleration?
    wine-1.1.26
    xf86-video-ati 6.12.2
    xorg-server 1.6.2
    Last edited by leniviy (2009-08-01 11:14:16)

    Is your user added to the video group?

  • Can I run a different user as the managed server than the admin server?

    Under unix, can I run a Weblogic 7 managed instance as a different user than the
    admin server in the same domain? If not, any reference docs on BEAs site?

    You mean a different UNIX user? Yes, that should be fine.
    -- Rob
    Frank wrote:
    Under unix, can I run a Weblogic 7 managed instance as a different user than the
    admin server in the same domain? If not, any reference docs on BEAs site?

  • Can you run a different user on the managed server than the admin server?

    Under unix, can I run a Weblogic 7 managed instance as a different user than the
    admin server in the same domain? If not, any reference docs on BEAs site?

    That shouldnt pose a problem.
    anand
    In article <3f679e4d$[email protected]>, Frank wrote:
    >
    Under unix, can I run a Weblogic 7 managed instance as a different user than the
    admin server in the same domain? If not, any reference docs on BEAs site?

  • Firefox does not run as normal user

    I installed firefox but it won't run unless I su. This is obviously a problem for me, and just about anyone. I tried deleting the .mozilla-firefox folder. I also tried reinstalling it. Nothing I tried has worked.

    Ack, there is something wrong with mozilla in arch. I had the same results on several machines and installations. Some files, at least one would be enough, is placed in the wrong place, I guess (considered to be placed in ~/.mozilla, but is in /opt/mozilla/ f.e.), and is set to be root's when you run mozilla for the first time as root. I never took the time to explore it, but I believe to remember I solved this, back yonks, twice by recursive changing permissions of the whole mozilla trees. Would be worth to give it a closer look... Anyway, since then I never touched mozilla based browsers as su, if in need to do such things I use 'links'. Furthermore, if you tweak your users permissions, there is no need to run a gui browser as root (*), as far as I am concerned. Give sticky permission for a "staff" group to write to /usr/src/incoming, f.e, and add your account to the group, will give you what you need to fetch sources as a user, and compile them as root in place. For whatever you will have to fetch, there will be a solution using aglp, acl, what ever you use and name it.
    (*) Exception:
    I found out epiphany frequently locks up fetching http://www.archlinux.org if you are a user, but not if you are root. Funny, isn't it?

  • Photoshop crashes when run as normal user

    Dear all,
    Ever since I installed CS4 Suite with Photoshop Extended, my Photoshop would crash as soon as I open a file. This would not happen if I am logged on as administrator on my Windows XP, but any other type of profile has the problem.
    I tried: reinstallation, clearing the Photoshop preference file, testing whether some startup service is causing it, and created new user profiles, but neither helped.
    Since, I did not have this problem with the CS3 suite, I assume that CS4 tries to do something that only administrators are allowed, but what ?
    Anyone with similar experiences or advice ?
    Regards,
    WM

    I think I might have found something more. I reinstalled the video driver to be on the safe side. Then ran photoshop as administrator, no problem. Then as normal user and I got the video driver message, as well as a crash when opening a file. Then I ran it again as administrator and it was not complaining about the video driver. So maybe photoshop accesses a part of my video driver that due to file permissions is only accessible to the administrator, any ideas of what that would be ?

  • Can't login with normal user via XDM

    Hi everyone,
    I have installed XFCE with XDM. The problem is, that when xdm loads, when I enter my normal user name and password the screen blinks and drops me back to xdm. When I enter root with password everything is fine (but I don't want to use root obviously).
    I have copypasted .xinitrc and .xsession from root to home/jonas/. Here are the contents of
    .xinitrc: http://pastebin.com/n2u4qfLD
    rc.conf: http://pastebin.com/2NLKEXyw
    inittab: http://pastebin.com/6Sbf76ff
    What am I missing? Thank you in advance

    weltio wrote:last advice was to downgrade gdm but it sounds very unlikely due to the fact that xdm makes similar problems
    I got the same problem with xdm, while gdm works fine. I'm still interested in seeing what's the xdm issue, though.

  • ITunes accounts can be accessed under one User but not a second User.

    Hi
    I'm having problems setting up iTunes on a new PC I've recently purchased. On my old PC - (Vista), myself (David) and my wife (Chris) had different Windows Users accounts, both with separate iTunes accounts which we could access with no problems.
    On my new Pc (Windows 7) I have downloaded iTunes and can access my iTunes account with my ID and password when the PC is logged in as 'David' as the User, as can my wife BUT when the PC the PC is logged in as my wife as the  User 'Chris' neither of us can access our iTunes account with our relative ID and passwords. We get the message.. "The iTunes Store is temporarily unavailable. Please try again later.".
    I have seen this sentence on Google and on various forums including this one but cannot find a solution which fits my problem which is our iTunes accounts can be accessed when the PC is logged in under one User but not a second User.
    Has anyone have ideas to attempt to resolve this issue?
    Thank you

    Hi DavidG56,
    If you are having issues connecting to the iTunes Store from one of the user accounts, you may find the following article helpful:
    Apple Support: Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    Regards,
    - Brenden

  • [Solved] Postfixadmin, can't run setup.php

    First time for me to try setting up any server stuff with arch, so forgive if I come across as clueless
    The story is I followed this page from the arch wiki:  https://wiki.archlinux.org/index.php/SO … #SMTP-AUTH to setup postfix, dovecot and postfixadmin (without smtp-auth as I have to use my isp's server for outgoing mail) and have a few issues but I think the first place I need to start is postfixadmin.  Haven't been able to get it to run the setup.php file which as far a I can see will create the mysql tables mapped in postfix's main.cf file
    When I try running http://mydomain/postfixadmin/setup.php I get this error:
    Please edit config.inc.php - change $CONF['configured'] to true after setting your database settings
    In my /srv/http/postfixadmin/config_inc.php file I have already set this like so:
    $CONF['configured'] = true;
    I'm thinking maybe I did something wrong in the config_inc.php file, I'm able to use phpmyadmin so I don't think it's an issue with my apache/php installation, here's my full /srv/http/postfixadmin/config_inc.php file in case anyone can spot anything:
    <?php
    * You have to set $CONF['configured'] = true; before the application will run!
    $CONF['configured'] = true;
    // In order to setup Postfixadmin, you MUST specify a hashed password here.
    // To create the hash, visit setup.php in a browser and type a password into the field,
    // on submission it will be echoed out to you as a hashed value.
    $CONF['setup_password'] = '';
    // Postfix Admin Path
    $CONF['postfix_admin_url'] = '[url]http://mydomain.com/postfixadmin[/url]';
    // shouldn't need changing.
    $CONF['postfix_admin_path'] = dirname(__FILE__);
    $CONF['default_language'] = 'en';
    // Database Config
    // mysql = MySQL 3.23 and 4.0, 4.1 or 5
    // mysqli = MySQL 4.1+
    // pgsql = PostgreSQL
    $CONF['database_type'] = 'mysqli';
    $CONF['database_host'] = 'localhost';
    $CONF['database_user'] = 'my_db_user';
    $CONF['database_password'] = 'my_db_password';
    $CONF['database_name'] = 'postfix';
    // If you need to specify a different port for a MYSQL database connection, use e.g.
    // $CONF['database_host'] = '172.30.33.66:3308';
    // Here, if you need, you can customize table names.
    $CONF['database_prefix'] = '';
    $CONF['database_tables'] = array (
    'admin' => 'admin',
    'alias' => 'alias',
    'alias_domain' => 'alias_domain',
    'config' => 'config',
    'domain' => 'domain',
    'domain_admins' => 'domain_admins',
    'fetchmail' => 'fetchmail',
    'log' => 'log',
    'mailbox' => 'mailbox',
    'vacation' => 'vacation',
    'vacation_notification' => 'vacation_notification',
    'quota' => 'quota',
    'quota2' => 'quota2',
    // Site Admin
    // Define the Site Admins email address below.
    // This will be used to send emails from to create mailboxes.
    $CONF['admin_email'] = '[email protected]';
    // Mail Server
    // Hostname (FQDN) of your mail server.
    // This is used to send email to Postfix in order to create mailboxes.
    $CONF['smtp_server'] = 'localhost';
    $CONF['smtp_server'] = 'mydomain.com';
    $CONF['smtp_port'] = '25';
    // Encrypt
    // In what way do you want the passwords to be crypted?
    // md5crypt = internal postfix admin md5
    // md5 = md5 sum of the password
    // system = whatever you have set as your PHP system default
    // cleartext = clear text passwords (ouch!)
    // mysql_encrypt = useful for PAM integration
    // authlib = support for courier-authlib style passwords
    // dovecot:CRYPT-METHOD = use dovecotpw -s 'CRYPT-METHOD'. Example: dovecot:CRAM-MD5
    $CONF['encrypt'] = 'md5crypt';
    // In what flavor should courier-authlib style passwords be enrypted?
    // md5 = {md5} + base64 encoded md5 hash
    // md5raw = {md5raw} + plain encoded md5 hash
    // SHA = {SHA} + base64-encoded sha1 hash
    // crypt = {crypt} + Standard UNIX DES-enrypted with 2-character salt
    $CONF['authlib_default_flavor'] = 'md5raw';
    // If you use the dovecot encryption method: where is the dovecotpw binary located?
    $CONF['dovecotpw'] = "/usr/sbin/dovecotpw";
    // Minimum length required for passwords. Postfixadmin will not
    // allow users to set passwords which are shorter than this value.
    $CONF['min_password_length'] = 5;
    // Generate Password
    // Generate a random password for a mailbox or admin and display it.
    // If you want to automagically generate paswords set this to 'YES'.
    $CONF['generate_password'] = 'NO';
    // Show Password
    // Always show password after adding a mailbox or admin.
    // If you want to always see what password was set set this to 'YES'.
    $CONF['show_password'] = 'NO';
    // Page Size
    // Set the number of entries that you would like to see
    // in one page.
    $CONF['page_size'] = '10';
    // Default Aliases
    // The default aliases that need to be created for all domains.
    $CONF['default_aliases'] = array (
    'abuse' => '[email protected]',
    'hostmaster' => '[email protected]',
    'postmaster' => '[email protected]',
    'webmaster' => '[email protected]'
    // Mailboxes
    // If you want to store the mailboxes per domain set this to 'YES'.
    // Examples:
    // YES: /usr/local/virtual/domain.tld/[email protected]
    // NO: /usr/local/virtual/[email protected]
    $CONF['domain_path'] = 'NO';
    // If you don't want to have the domain in your mailbox set this to 'NO'.
    // Examples:
    // YES: /usr/local/virtual/domain.tld/[email protected]
    // NO: /usr/local/virtual/domain.tld/username
    // Note: If $CONF['domain_path'] is set to NO, this setting will be forced to YES.
    $CONF['domain_in_mailbox'] = 'YES';
    // If you want to define your own function to generate a maildir path set this to the name of the function.
    // Notes:
    // - this configuration directive will override both domain_path and domain_in_mailbox
    // - the maildir_name_hook() function example is present below, commented out
    // - if the function does not exist the program will default to the above domain_path and domain_in_mailbox settings
    $CONF['maildir_name_hook'] = 'NO';
    maildir_name_hook example function
    Called by create-mailbox.php if $CONF['maildir_name_hook'] == '<name_of_the_function>'
    - allows for customized maildir paths determined by a custom function
    - the example below will prepend a single-character directory to the
    beginning of the maildir, splitting domains more or less evenly over
    36 directories for improved filesystem performance with large numbers
    of domains.
    Returns: maildir path
    ie. I/example.com/user/
    function maildir_name_hook($domain, $user) {
    $chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
    $dir_index = hexdec(substr(md5($domain), 28)) % strlen($chars);
    $dir = substr($chars, $dir_index, 1);
    return sprintf("%s/%s/%s/", $dir, $domain, $user);
    // Default Domain Values
    // Specify your default values below. Quota in MB.
    $CONF['aliases'] = '10';
    $CONF['mailboxes'] = '10';
    $CONF['maxquota'] = '10';
    // Quota
    // When you want to enforce quota for your mailbox users set this to 'YES'.
    $CONF['quota'] = 'NO';
    // You can either use '1024000' or '1048576'
    $CONF['quota_multiplier'] = '1024000';
    // Transport
    // If you want to define additional transport options for a domain set this to 'YES'.
    // Read the transport file of the Postfix documentation.
    $CONF['transport'] = 'NO';
    // Transport options
    // If you want to define additional transport options put them in array below.
    $CONF['transport_options'] = array (
    'virtual', // for virtual accounts
    'local', // for system accounts
    'relay' // for backup mx
    // Transport default
    // You should define default transport. It must be in array above.
    $CONF['transport_default'] = 'virtual';
    // Virtual Vacation
    // If you want to use virtual vacation for you mailbox users set this to 'YES'.
    // NOTE: Make sure that you install the vacation module. (See VIRTUAL-VACATION/)
    $CONF['vacation'] = 'NO';
    // This is the autoreply domain that you will need to set in your Postfix
    // transport maps to handle virtual vacations. It does not need to be a
    // real domain (i.e. you don't need to setup DNS for it).
    $CONF['vacation_domain'] = 'autoreply.change-this-to-your.domain.tld';
    // Vacation Control
    // If you want users to take control of vacation set this to 'YES'.
    $CONF['vacation_control'] ='YES';
    // Vacation Control for admins
    // Set to 'YES' if your domain admins should be able to edit user vacation.
    $CONF['vacation_control_admin'] = 'YES';
    // Alias Control
    // Postfix Admin inserts an alias in the alias table for every mailbox it creates.
    // The reason for this is that when you want catch-all and normal mailboxes
    // to work you need to have the mailbox replicated in the alias table.
    // If you want to take control of these aliases as well set this to 'YES'.
    // Alias control for superadmins
    $CONF['alias_control'] = 'NO';
    // Alias Control for domain admins
    $CONF['alias_control_admin'] = 'NO';
    // Special Alias Control
    // Set to 'NO' if your domain admins shouldn't be able to edit the default aliases
    // as defined in $CONF['default_aliases']
    $CONF['special_alias_control'] = 'NO';
    // Alias Goto Field Limit
    // Set the max number of entries that you would like to see
    // in one 'goto' field in overview, the rest will be hidden and "[and X more...]" will be added.
    // '0' means no limits.
    $CONF['alias_goto_limit'] = '0';
    // Alias Domains
    // Alias domains allow to "mirror" aliases and mailboxes to another domain. This makes
    // configuration easier if you need the same set of aliases on multiple domains, but
    // also requires postfix to do more database queries.
    // Note: If you update from 2.2.x or earlier, you will have to update your postfix configuration.
    // Set to 'NO' to disable alias domains.
    $CONF['alias_domain'] = 'YES';
    // Backup
    // If you don't want backup tab set this to 'NO';
    $CONF['backup'] = 'YES';
    // Send Mail
    // If you don't want sendmail tab set this to 'NO';
    $CONF['sendmail'] = 'YES';
    // Logging
    // If you don't want logging set this to 'NO';
    $CONF['logging'] = 'YES';
    // Fetchmail
    // If you don't want fetchmail tab set this to 'NO';
    $CONF['fetchmail'] = 'YES';
    // fetchmail_extra_options allows users to specify any fetchmail options and any MDA
    // (it will even accept 'rm -rf /' as MDA!)
    // This should be set to NO, except if you *really* trust *all* your users.
    $CONF['fetchmail_extra_options'] = 'NO';
    // Header
    $CONF['show_header_text'] = 'NO';
    $CONF['header_text'] = ':: Postfix Admin ::';
    // link to display under 'Main' menu when logged in as a user.
    $CONF['user_footer_link'] = "[url]http://change-this-to-your.domain.tld/main[/url]";
    // link to display under 'Main' menu when logged in as a user.
    $CONF['user_footer_link'] = "[url]http://change-this-to-your.domain.tld/main[/url]";
    // Footer
    // Below information will be on all pages.
    // If you don't want the footer information to appear set this to 'NO'.
    $CONF['show_footer_text'] = 'YES';
    $CONF['footer_text'] = 'Return to change-this-to-your.domain.tld';
    $CONF['footer_link'] = '[url]http://change-this-to-your.domain.tld[/url]';
    // Welcome Message
    // This message is send to every newly created mailbox.
    // Change the text between EOM.
    $CONF['welcome_text'] = <<<EOM
    Hi,
    Welcome to your new account.
    EOM;
    // When creating mailboxes or aliases, check that the domain-part of the
    // address is legal by performing a name server look-up.
    $CONF['emailcheck_resolve_domain']='YES';
    // Optional:
    // color names available on most browsers
    //set to YES to enable this feature
    $CONF['show_status']='YES';
    //display a guide to what these colors mean
    $CONF['show_status_key']='YES';
    // 'show_status_text' will be displayed with the background colors
    // associated with each status, you can customize it here
    $CONF['show_status_text']='&nbsp;&nbsp;';
    // show_undeliverable is useful if most accounts are delivered to this
    // postfix system. If many aliases and mailboxes are forwarded
    // elsewhere, you will probably want to disable this.
    $CONF['show_undeliverable']='NO';
    $CONF['show_undeliverable_color']='tomato';
    // mails to these domains will never be flagged as undeliverable
    $CONF['show_undeliverable_exceptions']=array("unixmail.domain.ext","exchangeserver.domain.ext","gmail.com");
    $CONF['show_popimap']='NO';
    $CONF['show_popimap_color']='darkgrey';
    // you can assign special colors to some domains. To do this,
    // - add the domain to show_custom_domains
    // - add the corresponding color to show_custom_colors
    $CONF['show_custom_domains']=array("subdomain.domain.ext","domain2.ext");
    $CONF['show_custom_colors']=array("lightgreen","lightblue");
    // If you use a recipient_delimiter in your postfix config, you can also honor it when aliases are checked.
    // Example: $CONF['recipient_delimiter'] = "+";
    // Set to "" to disable this check.
    $CONF['recipient_delimiter'] = "";
    // Optional:
    // Script to run after creation of mailboxes.
    // Note that this may fail if PHP is run in "safe mode", or if
    // operating system features (such as SELinux) or limitations
    // prevent the web-server from executing external scripts.
    // Parameters: (1) username (2) domain (3) maildir (4) quota
    // $CONF['mailbox_postcreation_script']='sudo -u courier /usr/local/bin/postfixadmin-mailbox-postcreation.sh';
    // Optional:
    // Script to run after alteration of mailboxes.
    // Note that this may fail if PHP is run in "safe mode", or if
    // operating system features (such as SELinux) or limitations
    // prevent the web-server from executing external scripts.
    // Parameters: (1) username (2) domain (3) maildir (4) quota
    // $CONF['mailbox_postedit_script']='sudo -u courier /usr/local/bin/postfixadmin-mailbox-postedit.sh';
    // Optional:
    // Script to run after deletion of mailboxes.
    // Note that this may fail if PHP is run in "safe mode", or if
    // operating system features (such as SELinux) or limitations
    // prevent the web-server from executing external scripts.
    // Parameters: (1) username (2) domain
    // $CONF['mailbox_postdeletion_script']='sudo -u courier /usr/local/bin/postfixadmin-mailbox-postdeletion.sh';
    // Optional:
    // Script to run after creation of domains.
    // Note that this may fail if PHP is run in "safe mode", or if
    // operating system features (such as SELinux) or limitations
    // prevent the web-server from executing external scripts.
    // Parameters: (1) domain
    //$CONF['domain_postcreation_script']='sudo -u courier /usr/local/bin/postfixadmin-domain-postcreation.sh';
    // Optional:
    // Script to run after deletion of domains.
    // Note that this may fail if PHP is run in "safe mode", or if
    // operating system features (such as SELinux) or limitations
    // prevent the web-server from executing external scripts.
    // Parameters: (1) domain
    // $CONF['domain_postdeletion_script']='sudo -u courier /usr/local/bin/postfixadmin-domain-postdeletion.sh';
    // Optional:
    // Sub-folders which should automatically be created for new users.
    // The sub-folders will also be subscribed to automatically.
    // Will only work with IMAP server which implement sub-folders.
    // Will not work with POP3.
    // If you define create_mailbox_subdirs, then the
    // create_mailbox_subdirs_host must also be defined.
    // $CONF['create_mailbox_subdirs']=array('Spam');
    // $CONF['create_mailbox_subdirs_host']='localhost';
    // Specify '' for Dovecot and 'INBOX.' for Courier.
    $CONF['create_mailbox_subdirs_prefix']='INBOX.';
    // Optional:
    // Show used quotas from Dovecot dictionary backend in virtual
    // mailbox listing.
    // See: DOCUMENTATION/DOVECOT.txt
    // [url]http://wiki.dovecot.org/Quota/Dict[/url]
    $CONF['used_quotas'] = 'NO';
    // if you use dovecot >= 1.2, set this to yes.
    // Note about dovecot config: table "quota" is for 1.0 & 1.1, table "quota2" is for dovecot 1.2 and newer
    $CONF['new_quota_table'] = 'NO';
    // Normally, the TCP port number does not have to be specified.
    // $CONF['create_mailbox_subdirs_hostport']=143;
    // If you have trouble connecting to the IMAP-server, then specify
    // a value for $CONF['create_mailbox_subdirs_hostoptions']. These
    // are some examples to experiment with:
    // $CONF['create_mailbox_subdirs_hostoptions']=array('notls');
    // $CONF['create_mailbox_subdirs_hostoptions']=array('novalidate-cert','norsh');
    // See also the "Optional flags for names" table at
    // [url]http://www.php.net/manual/en/function.imap-open.php[/url]
    // Theme Config
    // Specify your own logo and CSS file
    $CONF['theme_logo'] = 'images/logo-default.png';
    $CONF['theme_css'] = 'css/default.css';
    // XMLRPC Interface.
    // This should be only of use if you wish to use e.g the
    // Postfixadmin-Squirrelmail package
    // change to boolean true to enable xmlrpc
    $CONF['xmlrpc_enabled'] = false;
    // If you want to keep most settings at default values and/or want to ensure
    // that future updates work without problems, you can use a separate config
    // file (config.local.php) instead of editing this file and override some
    // settings there.
    if (file_exists(dirname(__FILE__) . '/config.local.php')) {
    include(dirname(__FILE__) . '/config.local.php');
    // END OF CONFIG FILE
    /* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */
    Any suggestions on what I can try to get postfixadmin's setup.php to run will be much appreciated
    Last edited by Ecky (2012-09-14 23:23:24)

    Just worked out I had an errant dns sending me to a postfixadmin on another machine which I'd never used ... god do I feel stupid!
    Now that the url is sendng me to the correct machine (and copy of postfixadmin) I'm getting a 403 permissions errors when I try to open setup.php, the config.inc.php I posted btw is the correct one
    When following the arch wiki page I put a symlink called postfixadmin in /srv/http which points to /usr/share/webapps/postfixAdmin and then followed this part of the wiki to set permissions:
    chown -R nobody:nobody /home/httpd/html/postfixadmin-2.1.0/
    cd /home/httpd/html/postfixadmin/
    chmod 640 *.php
    cd /home/httpd/html/postfixadmin/admin/
    chmod 640 *.php
    cd /home/httpd/html/postfixadmin/images/
    chmod 640 *.png
    cd /home/httpd/html/postfixadmin/languages/
    chmod 640 *.lang
    cd /home/httpd/html/postfixadmin/templates/
    chmod 640 *.php
    cd /home/httpd/html/postfixadmin/users/
    chmod 640 *.php
    That's directly from the wiki, obviously in my case I changed the paths from /home/httpd/html to /srv//http so as to reflect my setup. Assuming the permissions on the wiki are correct I don't know why I get the 403 error when I try opening the setup.php file
    Access forbidden!
    You don't have permission to access the requested object. It is either read-protected or not readable by the server.
    If you think this is a server error, please contact the webmaster.
    Error 403
    Any ideas?
    Last edited by Ecky (2012-09-14 11:39:52)

  • [solved] xorg won't start as normal user?

    Just finished a new install on a computer and am unable to start x as a standard user. It works fine as root though
    checking my logs there are no Errors though stopping the x server from running.
    Last edited by farkenell (2009-05-24 10:48:01)

    I take it that you want X to start as soon as you boot-up ?
    If so, your /etc/inittab file needs editing, as 'root'. Here's mine which
    starts KDE at boot-up:
    # /etc/inittab
    # Runlevels:
    # 0 Halt
    # 1(S) Single-user
    # 2 Not used
    # 3 Multi-user
    # 4 Not used
    # 5 X11
    # 6 Reboot
    ## Only one of the following two lines can be uncommented!
    # Boot to console
    #id:3:initdefault:
    # Boot to X11
    id:5:initdefault: ### <<< UNCOMMENT THIS LINE. Ensure the others are commented-out
    rc::sysinit:/etc/rc.sysinit
    rs:S1:wait:/etc/rc.single
    rm:2345:wait:/etc/rc.multi
    rh:06:wait:/etc/rc.shutdown
    su:S:wait:/sbin/sulogin -p
    # -8 options fixes umlauts problem on login
    c1:2345:respawn:/sbin/agetty -8 38400 vc/1 linux
    c2:2345:respawn:/sbin/agetty -8 38400 vc/2 linux
    c3:2345:respawn:/sbin/agetty -8 38400 vc/3 linux
    c4:2345:respawn:/sbin/agetty -8 38400 vc/4 linux
    c5:2345:respawn:/sbin/agetty -8 38400 vc/5 linux
    c6:2345:respawn:/sbin/agetty -8 38400 vc/6 linux
    ca::ctrlaltdel:/sbin/shutdown -t3 -r now
    # Example lines for starting a login manager
    #x:5:respawn:/usr/bin/xdm -nodaemon
    #x:5:respawn:/usr/sbin/gdm -nodaemon
    x:5:respawn:/usr/bin/kdm -nodaemon #### <<<< UN-COMMENT THIS LINE. Ensure the others are commented-out
    #x:5:respawn:/usr/bin/slim >& /dev/null
    # End of file
    I've indicated the lines which need un-commenting.
    Just ensure that you comment-out the rest, as shown.
    Hope this helps...
    Deej
    Last edited by deej (2009-05-24 08:12:29)

Maybe you are looking for

  • Ipod shuffle will NOT keep music - only one CD downloaded - HELP!?

    WELL, it lets me add songs (supposedly) to the ipod. ONE of the cd's I purchased actually copied to the ipod. It says it's syncing, and it adds the other cd's to the library. But every time i eject the ipod and listen to it - only that one cd is ther

  • Controlling the preview order of objects.

    hi all. im creating a dynamic menu which has submenus. when an item (jbutton) on the menu is clicked all of the items which are below are moved down and the submenu appears in that gap.. my problem is that the submenu buttons are previewed above the

  • Best way to implement a "logical" URL?

    Does SAP provide any equivalent of the FILE transaction and logical file names for URLs? My BSP application needs to link to different URLs depending on whether its running in development, QA, or production. I would like to do this in the most flexib

  • Search doesn't search ~/Library/Preferences and others

    Since upgrading to 10.5 I've noticed that Spotlight (as well as doing a normal finder search) doesn't search the ~/Library/Preferences folder (or a lot of other folders as well including Application Support). For example try to search for com.apple.i

  • Does anyone know how I can step between different voltages say from a list or table for a Agilent E3631A?

    I am just getting started with Labview. I have the 8.0 version installed. I currently trying to get the E3631A power supply to step through a list or table of different levels. For example: 2.0,1.8,1.53,1.25 and so forth. Is there anyway that I can c