Good Mail Reader that can be launched from xterm???
I have one machine with 30 user accounts. I want to log in as one user, su to all the others in xterm and launch and read email from xterm. What is the best Mail software to use here which would give me full GUI, attachments, full MIME, etc. etc when launched from xterm? I can log in as each individual user but looking to do all mail maintenance from one login. All coments weclome. john ------------------------------------ John N. Alegre o Andante Systems o eCommerce Consulting o Custom Web Development <*{{{{}>< ------------------------------------
On Tue, 04 May 2004 21:02:43 -0500 (CDT), "John N. Alegre"
I have one machine with 30 user accounts.
I want to log in as one user, su to all the others in xterm and launch and read email from xterm. What is the best Mail software to use here which would give me full GUI, attachments, full MIME, etc. etc when launched from xterm? I can log in as each individual user but looking to do all mail maintenance from one
A simple shell script should be able to do your job, mutt is the my favourite for reading mails, the skeleton of the script is as follows. su user1 -c "mutt" su user1 -c "mutt" ...... ..... .... ... .. . Hope this helps. -- http://www.fastmail.fm - The professional email service
Amish, On 05-May-04 Amish Munshi wrote:
A simple shell script should be able to do your job, mutt is the my favourite for reading mails, the skeleton of the script is as follows.
su user1 -c "mutt" su user1 -c "mutt"
mutt is not at all what I have in mind! I know you can su to a different user and use a text based mail reader like mutt or pine from within the xterm. I am looking for a full GUI mail reader that can be launched from the command line of xterm. Something that has the look and functionality of Netscape mail. I know there is Kmial but how can that be launched as a su'ed user? To be more clear, if I have users root, joe, frank and bill. I log in as bill, su to root. Now su to joe and frank does not require a password. So I want to su to joe or frank and launch the equivalent of Netscape Mail / Kmail or whatever on bills desktop but as joe or frank. I used to do this with XFmail in Red Hat 6.0 but I am looking for even more GUI functionality that even XFmail. All comments welcome ------------------------------------ John N. Alegre o Andante Systems o eCommerce Consulting o Custom Web Development <*{{{{}>< ------------------------------------
John N. Alegre wrote:
Amish,
On 05-May-04 Amish Munshi wrote:
A simple shell script should be able to do your job, mutt is the my favourite for reading mails, the skeleton of the script is as follows.
su user1 -c "mutt" su user1 -c "mutt"
mutt is not at all what I have in mind!
I know you can su to a different user and use a text based mail reader like mutt or pine from within the xterm. I am looking for a full GUI mail reader that can be launched from the command line of xterm. Something that has the look and functionality of Netscape mail. I know there is Kmial but how can that be launched as a su'ed user?
To be more clear, if I have users root, joe, frank and bill. I log in as bill, su to root. Now su to joe and frank does not require a password. So I want to su to joe or frank and launch the equivalent of Netscape Mail / Kmail or whatever on bills desktop but as joe or frank.
I used to do this with XFmail in Red Hat 6.0 but I am looking for even more GUI functionality that even XFmail.
try: kdesu -u (joe_or_frank) kmail (or whatever) ain
What am I missing here? libros:/opt/kde3/bin # ./kdesu -u adc kmail Xlib: connection to ":0.0" refused by server Xlib: No protocol specified kdesu: cannot connect to X server :0 I know it some entry in some X config file but I cant remember. I can not even launch kde apps from the same user from a xterm. libros:~ # /opt/kde3/bin/konqueror Xlib: connection to ":0.0" refused by server Xlib: No protocol specified konqueror: cannot connect to X server :0 On 05-May-04 Ain Vagula wrote:
try:
kdesu -u (joe_or_frank) kmail (or whatever)
ain
All comments welcome john ------------------------------------ John N. Alegre o Andante Systems o eCommerce Consulting o Custom Web Development <*{{{{}>< ------------------------------------
John N. Alegre wrote:
What am I missing here?
Before issuing a 'su', try: xhost +localhost Then, after you got Super-User priviledges and assuming you use bash: export DISPLAY=:0.0 And then launch the graphical application you want.. HTH, Martin
libros:/opt/kde3/bin # ./kdesu -u adc kmail Xlib: connection to ":0.0" refused by server Xlib: No protocol specified
kdesu: cannot connect to X server :0
I know it some entry in some X config file but I cant remember. I can not even launch kde apps from the same user from a xterm.
libros:~ # /opt/kde3/bin/konqueror Xlib: connection to ":0.0" refused by server Xlib: No protocol specified
konqueror: cannot connect to X server :0
On 05-May-04 Ain Vagula wrote:
try:
kdesu -u (joe_or_frank) kmail (or whatever)
ain
All comments welcome john ------------------------------------ John N. Alegre o Andante Systems o eCommerce Consulting o Custom Web Development <*{{{{}>< ------------------------------------
* Martin Mielke
Before issuing a 'su', try:
xhost +localhost
As as been discussed many time recently on this list, the above option is to be considered very unsafe and insecure. see archives.... -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711
On Wed, 2004-05-05 at 11:53, Patrick Shanahan wrote:
* Martin Mielke
[05-05-04 10:33]: Before issuing a 'su', try:
xhost +localhost
As as been discussed many time recently on this list, the above option is to be considered very unsafe and insecure. see archives.... --
A better method is to use sux to run the command, or you can setup an icon on your desktop and use the parameter to "run as" root which will prompt you for root's password. If you need to run "X" programs from a different machine on your desktop (remote administration) you will need to use xhost +<machine name or IP> before running the command and then xhost - right after. If there is a better way to do remote "X" admin work I would like to know. Be careful as it will allow others to "display" x programs on your display as well if you are not careful. It all depends on how secure your environment is. -- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998 (5.2)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 05 May 2004 01:09 pm, Kenneth Schneider wrote:
If you need to run "X" programs from a different machine on your desktop (remote administration) you will need to use xhost +<machine name or IP> before running the command and then xhost - right after. If there is a better way to do remote "X" admin work I would like to know.
ssh -X If it's far away, you can add -C for compression. - -- James Oakley Engineering - SolutionInc Ltd. joakley@solutioninc.com http://www.solutioninc.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAmSZG4U2uQswGyDcRAkMBAJ944UutiiIVnCWMWw6eIITyeN/LfwCgybhv osO4MGTV6No5y02b8ELDPwA= =8QdF -----END PGP SIGNATURE-----
Martin and List On 05-May-04 Martin Mielke wrote:
Before issuing a 'su', try:
xhost +localhost
Then, after you got Super-User priviledges and assuming you use bash:
export DISPLAY=:0.0
And then launch the graphical application you want..
This is exactly what I was looking for. I know about the security issues but all the users on the machine are me. I trust myself. The machine is set up with full firewall to the Internet. When I log on I am not worried about security between users because like I just stated all users are me. However, possibly due to the firewall I am still having problems. libros:/home/adc # xhost +localhost Xlib: connection to ":0.0" refused by server Xlib: No protocol specified xhost: unable to open display ":0.0" Same thing happens with xhost +"hostname" and xhost +IP ADDRESS Can anyone help? john ------------------------------------ John N. Alegre o Andante Systems o eCommerce Consulting o Custom Web Development <*{{{{}>< ------------------------------------
On Wed, 2004-05-05 at 23:57, John N. Alegre wrote: <snip>
This is exactly what I was looking for. <snip> However, possibly due to the firewall I am still having problems.
libros:/home/adc # xhost +localhost Xlib: connection to ":0.0" refused by server Xlib: No protocol specified
xhost: unable to open display ":0.0"
Same thing happens with xhost +"hostname" and xhost +IP ADDRESS
Can anyone help? john
Are you sure that you did the xhost before su? Otherwise, you can try (before su): xhost + export DISPLAY=:0.0 su - Rudolf
I have not read all the posts, but I use Sylpheed Claws. One of the main
reason I switched is that it fully supports MH folders. While Evolution
does this, my folders have been around for years, and it would have
taken me a long time to set them up under evolution which was my first
choice.
--
Jerry Feldman
John N. Alegre wrote:
Amish,
[snip mutt stuff]
mutt is not at all what I have in mind!
All I can say is to look at Mozilla for a Netscape lookalike. I would assume that if each person logged in to the one machine then the mozilla binary could be placed in /users and then I assume their own mail would be stored in their /home directory. sorry, not much of a solution but it is most definitely a GUI email solution similar to Netscape, and I should know as I used Netscape before moving to linux for close on 8 years. Please advise if you are subscribed to the SLE list so that I do not end up sending you two copies of the same message. HiH -- The Little Helper ======================================================================== Hylton Conacher - Licenced Windows user Registered Linux user # 229959 at http://counter.li.org Currently using SuSE 9.0 Professional with KDE 3.1 ========================================================================
participants (10)
-
Ain Vagula
-
Amish Munshi
-
Hylton Conacher (ZR1HPC)
-
James Oakley
-
Jerry Feldman
-
John N. Alegre
-
Kenneth Schneider
-
Martin Mielke
-
Patrick Shanahan
-
Rudolf Schnetler