Author Topic: How can I do it in UNIX  (Read 2127 times)

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
How can I do it in UNIX
« Reply #30 on: 23 August 2002, 11:36 »
quote:
Originally posted by www.unixsucks.com:
Now I got it. THere is a ghostscript which converts postscript to PDF. So it is in fact 3d party software and you did not write it. So why you claiming it to be your child?



Ghostscript comes with every Linux distro dude, I never said I wrote Ghostscript.  I did write an *extremely* small shell script that captures incoming print jobs to the print queue (the one that looks like a Color LaserJet on a Windows NT server), convert it to PDF, email the attachment back to the user with the first page of the document showing up as text in the message body. All automatically.

Now that you have *many* hints.  How are you going to do this in Windows?
Someone please remove this account. Thanks...

www.unixsucks.com

  • Member
  • **
  • Posts: 131
  • Kudos: 56
    • http://www.unixsucks.com
How can I do it in UNIX
« Reply #31 on: 23 August 2002, 11:38 »
How important is that it comes with OS? It's a tiny download.
If the point was that Windows does not come with ghostscript and Linux does then you made it. I don't really see how it make Linux any better compared with Windows. Windows comes with print certificate server, sniffer, print services for MAC, file sharing for Mac, does Linux?
Gregory Suvalian

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
How can I do it in UNIX
« Reply #32 on: 23 August 2002, 11:42 »
I'll even let you download Ghostscript.  This little project will allow you to do anything you want as long as you meet the criteria.  I just want to know how you would do it.  And to answer your questions: yes, yes, yes, yes.  And support for Netware, Windows, other UNIX systems, etc, etc, etc...
Someone please remove this account. Thanks...

www.unixsucks.com

  • Member
  • **
  • Posts: 131
  • Kudos: 56
    • http://www.unixsucks.com
How can I do it in UNIX
« Reply #33 on: 23 August 2002, 11:42 »
Here is how it is done
http://www.cs.wisc.edu/~ghost/redmon/en/redmon.htm#274
Listen, this is new to me and it'll take time for me to learn but as of now I can see that it can be done. If you talking about how would identify people then I guess output which is generated by that program is owner by owner of print job which can be extracted by Script, then you query AD for that person, find his email address and send it back.
Gregory Suvalian

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
How can I do it in UNIX
« Reply #34 on: 23 August 2002, 11:51 »
of course you'd add to the NT domain logon script to have this queue automatically connected when the users log in. SO that no work will be required by the user to be given this new ability.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

www.unixsucks.com

  • Member
  • **
  • Posts: 131
  • Kudos: 56
    • http://www.unixsucks.com
How can I do it in UNIX
« Reply #35 on: 23 August 2002, 11:53 »
This will solve only half of the problem as results are not emailed back.
So which part of the whole scenario is not possible to implement on Windows? Email sending part?
Gregory Suvalian

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
How can I do it in UNIX
« Reply #36 on: 23 August 2002, 11:53 »
Hey, that's a pretty good find!  And a good start!  I'll even help you out a little with the email thing.  Assume that the email addresses on the exchange server match the domain IDs.  i.e. [email protected]
Someone please remove this account. Thanks...

www.unixsucks.com

  • Member
  • **
  • Posts: 131
  • Kudos: 56
    • http://www.unixsucks.com
How can I do it in UNIX
« Reply #37 on: 23 August 2002, 11:56 »
That's not fair, let's do it that username does not match email address name. Was it your UNIX implementation?
Now tell me if resulting document is owned by user submitted print document? I don't want to expiriment with that thin in order just to find it out.
Gregory Suvalian

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
How can I do it in UNIX
« Reply #38 on: 23 August 2002, 12:06 »
Huh?  I'm trying to make it easy on you.  You can pick up the ID of the user sending the print job on your server.  Say your secretary's name and logon ID is "sally".  Sally is sitting on her Windows 2000 workstation and happens to be working in Autocad, no wait, Sally is a secretary and doesn't know how to use Autocad, she's using Word.  

Sally prints her word document to your PDF print queue, which magically within a few seconds (plus Exchange virus scanner delay added) comes back to her in her Exchange mailbox in the form of a PDF attachment addressed to "[email protected]".

[ August 23, 2002: Message edited by: VoidMain ]

Someone please remove this account. Thanks...

www.unixsucks.com

  • Member
  • **
  • Posts: 131
  • Kudos: 56
    • http://www.unixsucks.com
How can I do it in UNIX
« Reply #39 on: 23 August 2002, 12:10 »
So in your implementation did you actually assumed logon name = email address?
And is file is owner by secretary or not?
And which part exactly makes you think that it can not be done. I assume you tried or thought about it and found out that it's impossible.
I don't want to write the whole program just for the sake of it. Give me part which would not work in Windows enviroment.
Gregory Suvalian

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
How can I do it in UNIX
« Reply #40 on: 23 August 2002, 12:11 »
X11, with Terminal Services windows can serve out desktops and many people can use apps on the system at the same time (not without a GUI mind you).  But this is something that has been part of Xwindows/UNIX for as long as I have been in it (well over 10 years).
Someone please remove this account. Thanks...

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
How can I do it in UNIX
« Reply #41 on: 23 August 2002, 12:15 »
quote:
Originally posted by www.unixsucks.com:
So in your implementation did you actually assumed logon name = email address?
And is file is owner by secretary or not?
And which part exactly makes you think that it can not be done. I assume you tried or thought about it and found out that it's impossible.
I don't want to write the whole program just for the sake of it. Give me part which would not work in Windows enviroment.



Yes, logon name = email address.  And I never said it couldn't be done in Windows, anything can be done if you are a programmer and you can eventually cut down a redwood tree with a pocket knife.  I just want to know how you would do this simple task.  Since I know both Windows and UNIX, I picked the easiest, most inexpensive, least crash prone way of doing it.  It's kinda the point I am trying to get across to you.  You probably could have learned a lot of UNIX in the amount of time you've spent spinning your wheels on this one...
Someone please remove this account. Thanks...

www.unixsucks.com

  • Member
  • **
  • Posts: 131
  • Kudos: 56
    • http://www.unixsucks.com
How can I do it in UNIX
« Reply #42 on: 23 August 2002, 12:17 »
To fucking idiot BOB.
NO you can't run dumb terminals with Windows at backend. You can run dumb old machines with Terminal Services installed and provide people with rich gui interface. How often for business processed do you need to provide user with blinking terminal window? yes, I agree that's another thing which Linux can do which Windows can't without additional software.
As for Apache. By default user threads launched by inetinfo.exe are run either under authenticated user ISR_MACHINE name or authenticated user, if you choose to run it out of process then it starts mtx.exe which runs un IWAM_MACHINE account. Now security and Apache. Why on earth apache discloses by default it's version in HTTP header. I don't even need to check for exploits, I just parse header and know if system vulnerable or not.
Gregory Suvalian

mobrien_12

  • VIP
  • Member
  • ***
  • Posts: 2,138
  • Kudos: 711
    • http://www.geocities.com/mobrien_12
How can I do it in UNIX
« Reply #43 on: 23 August 2002, 12:18 »
"you want users to run only program Y and you want them from changing desktop or adding printers to the system"

Adding printers is a root task (like it bloody well SHOULD BE), so unix/linux does this automatically.  Are you serious?  

You want users to run only program Y in linux and not change the desktop? Fine. Use XDM.  Edit the xinit scripts so that after login, X-Windows is started and program Y is started using the maximum geometry, without a window manager.

Ctrl-Alt-Backspace kills the X-Windows session.

If the program is non-GUI, just make it their shell.

There are a lot of other methods too but what's the point of explaining them to you?  You are just another loser troll.
In brightest day, in darkest night, no evil shall escape my sight....

www.unixsucks.com

  • Member
  • **
  • Posts: 131
  • Kudos: 56
    • http://www.unixsucks.com
How can I do it in UNIX
« Reply #44 on: 23 August 2002, 12:20 »
To void.
Please explain what you gonna do if it would not be a case where username = email address?
And I thought it was reason for your post - to show that there is something which Linux can do and Windows can't. If it possible to do then what is point?
Gregory Suvalian