[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Re: Fwd: Re: Bug#19506: kmail as other user does not work
From:       Jason Stephenson <jjas () engr ! uky ! edu>
Date:       2001-02-01 14:32:59
[Download RAW message or body]

Could be that when you su, you aren't getting the new user's environment. Try 
'su - username', which simulates a full login. It may also be that KMail 
relies on some environment setting which doesn't get set properly with su. I 
suggest you 'man su' for the particulars on your system.

Assuming you're trying to read mail on the local mail spool, a better way to 
read someone else's email is to alias their account to yours in /etc/aliases 
and then run sendmail (or qmail or exim) on the local machine. The set up is 
a bit too complicated to get into here, but this is how I read root's email 
on all my workstations. Of course, this means all their mail gets sent to 
your account, and they never see it.


On Thursday 01 February 2001 09:16, Andreas Gungl wrote:
> Anybody who can help here?
>
> ----------  Forwarded Message  ----------
> Subject: Re: Bug#19506: kmail as other user does not work
> Date: Thu, 01 Feb 2001 14:56:12 +0100
> From: Gerralt de Vree <g.a.devree@its.tudelft.nl>
> To: Andreas Gungl <Andreas.Gungl@osp-dd.de>
>
> On Thursday 01 February 2001 11:57, you wrote:
> > Mmmh, I start konsole, use su to switch to the other user (KDEDIRS,
> > KDEHOME etc. should eb set properly), assign DISPLAY (use xhost
> > +<localhost> if needed) and then start kmail.
> > No problem, you even get the output of the session into the konsole
> > window.
> >
> > Maybe you can try it this way?
> >
> > Andreas
>
> Well, that works. But I knew that that would work. I tried that before.
>
> What also works is making a "link to application" and then saying that I
>  want to run kmail "as different user" and "in terminal" (in the "execute"
>  tab). Then su is used to switch user, and all output comes into a the
>  konsole.
>
> Something else that does work is running konsole as different user and then
> start kmail from the konsole.
> su joost -c 'kmail -display :0' works fine too.
> The only thing that does not work is starting kmail directly from kdesu.
>
> Maybe this all means that it is a kdesu problem, not a kmail problem.
> On the oher hand, for konqueror and netscape I can run them via kdesu "as
> different user" without the need to say "in terminal". So what is the
> difference between the needs for these applications?
>
> Gerralt
> _______________________________________________
> Kmail Developers mailing list
> Kmail@master.kde.org
> http://master.kde.org/mailman/listinfo/kmail

-- 
Jason Stephenson -- UNIX Administrator
University of Kentucky College of Engineering Computing Services
280 Anderson Hall -- 257-5497
jjas@engr.uky.edu
_______________________________________________
Kmail Developers mailing list
Kmail@master.kde.org
http://master.kde.org/mailman/listinfo/kmail

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic