su question

Florian Diesch diesch at spamfence.net
Tue Sep 30 17:16:29 UTC 2008


Linda <haniganwork at earthlink.net> wrote:

> I have several timeshare employees that I would like to have share the 
> same email account but not the same login. 

I would setup a local IMAP server (dovecot is quite easy).

> I thought I had a solution 
> figured out by moving the thunderbird-profile to a directory they could 
> all access. 

As only one Thunderbird instance can use a profile your users can use
that email account in parallel.

> However thunderbird ignores umask and on closing sets the 
> inbox as user rw no group permissions.
> I thought I would solve my problem with thunderbird resetting the inbox 
> permissions different than umask by having my different users access the 
> same thuderbird profile using su. I could just create a user for the 
> thunderbird account set it up the way I wanted unfortunately it does not 
> work.
> If I type  su username -c thunderbird     instead of opening thunderbird 
> I get this
>
> No protocol specified
>
> (thunderbird-bin:9606): Gtk-WARNING **: cannot open display: :0.0
>
> any ideas on how to get this to work.  

username needs access permission to the calling user's X
display. Either give that permission manually using xauth or use gksu
or sux instead of su.





   Florian
-- 
<http://www.florian-diesch.de/>
-----------------------------------------------------------------------
**  Hi! I'm a signature virus! Copy me into your signature, please!  **
-----------------------------------------------------------------------




More information about the ubuntu-users mailing list