Ubersite
Home - About Us - Contact
"We must become the change we want to see in the world" - Gandhi
Welcome to Ubersite!
Search Ubersite
Search for:

Most Recently Reviewed
  1. My kittens will steal your...
  2. Identity Crisis
  3. The monster in my closet.
  4. Training teens to alcohol
  5. Wanted: Shitty Boyfriend
  6. Select Harvest Soup Sucks
  7. SPT: Greater Than >
  8. Texas vs. Ohio State- Nati...
  9. Babe, I'm Gonna Leave You....
  10. Caption Contest
more...
Most Heated
  1. Your First Kiss...and Mine (62 heat)
  2. Come Make Hamburgers With Me (58 heat)
  3. Babe, I'm Gonna Leave You.... (49 heat)
  4. Wanted: Shitty Boyfriend (41 heat)
  5. RE: “Wanted: Shitty Boyfri... (35 heat)
  6. Fuck Your Resolutions (32 heat)
  7. Dreams (31 heat)
  8. My kittens will steal your... (29 heat)
  9. My puppy will steal your s... (25 heat)
  10. 10 things I did and didn't... (25 heat)
more...
Most Viewed Messages
  1. The Ultimate MS Paint: It... (1166354 hits)
  2. "If I cum now, will it be ... (717445 hits)
  3. Exploiting Peer-to-Peer Ne... (391770 hits)
  4. How To Pick Up Chicks (332958 hits)
  5. Motivating the Weekend (319709 hits)
  6. Knockoff porn movie titles (308194 hits)
  7. My J-Date Misadventure (291034 hits)
  8. Licking A Bum's Ass (256129 hits)
  9. How The Hell Do I Get Out ... (254885 hits)
  10. Badass Australian Cows (251085 hits)
more...
Most Viewed Authors
  1. Bart Cilfone (1491483 hits)
  2. Stanley Moore (1472702 hits)
  3. Razor (1435697 hits)
  4. JMG114 (1408313 hits)
  5. MickGinny (1311310 hits)
  6. loki (1082536 hits)
  7. Sideburns, MUHFUCKA (1081671 hits)
  8. Jonukah (1001550 hits)
  9. Most Hated (958049 hits)
  10. weeeeep (954124 hits)
  11. Cat Crooner Extraordinaire (913945 hits)
  12. Ubersite needs me! (902053 hits)
  13. Caption Contest (901747 hits)
  14. Tom (849827 hits)
  15. mystiamoon is mental (787650 hits)
  16. oy vey (774572 hits)
  17. T+I+G+E+R L+I+L+L+Y (774096 hits)
  18. Sorrell (760792 hits)
  19. RIP™ (708325 hits)
  20. Satan is my Motor (706908 hits)
  21. RON PAUL 2008! (702102 hits)
  22. HIDDEN101 (699159 hits)
  23. User Blocked (660830 hits)
  24. Phil Phone (658046 hits)
  25. TTOM88 (650426 hits)
  26. comicbookguy (643236 hits)
  27. iddqd (637588 hits)
  28. kaos-king (626821 hits)
  29. ♥ (598002 hits)
  30. O (593934 hits)
Click here to return to the list of messages.

Attn leet menz (and grlz) (736 hits)

Category: Computers & Internet

Rating: -0.53 on 17 reviews (Rate this item) (V)
Labels:

Submitted by Korthrun McBloodlust <korthrun.at.korthrun.net> (View user info) at 2004-01-15 15:33:28 EST


Wondering if any possible perl gurus out there can lend a hand.

I am trying to use $> to change the EUID of a perl script to a non priveleged user. This is to run an SSH command on a backup server, to make a new directory. For obvious reasons I do not want passwordless ssh setup for root. This is what I have atm:

$> = 10177;
print "Copying data over to backup.foo.com\n";
system "ssh backup.foo.com mkdir /backup/ns5/$date";
system "scp /usr/local/backup/* backup.foo.com:/backup/ns5/$date/";
print "K tx.\n";
exit 0;

It still seems to execute the ssh and scp commands as root. Is this because of the system call? Should I be using exec? Anyc lues would be nice. Googleing for $> is not very effective and I am perusing perlmonks atm but am not finding a whole lot yet. Thanks for any that help, and a nice fuck you and have a nice day to the whiners.


Submit to Digg Submit to StumbleUpon

User Reviews


Submitted by lilbill87 (user info) at 2004-04-29 18:01:25 EDT (#)
Ranking: -2

No Comment

Submitted by beer-turtle (user info) at 2004-01-15 20:32:43 EST (#)
Ranking: 0

replace the flux capacitor, the phlogiston filter attachment has corrupted the pump array.

-turtle


Submitted by seanfogy (user info) at 2004-01-15 18:45:39 EST (#)
Ranking: 0

Submitted by lucid (user info) at 2004-01-15 16:34:02 (#)
Ranking: -2

No self respecting penguin would use the word leet, let alone l337.




Thats because there's no such thing as a "self respecting penguin". Penguins suck. Fuck em.

Submitted by CDizzle (user info) at 2004-01-15 18:01:02 EST (#)
Ranking: 0

Korthran, I guess this should tell you that none of these guys know perl.

Submitted by lucid (user info) at 2004-01-15 16:34:02 EST (#)
Ranking: -2

No self respecting penguin would use the word leet, let alone l337.



Submitted by Random Joe at 2004-01-15 16:23:38 EST (#)
Ranking: 0

Don't backup your shit, waste of time. Disks never fail.

Submitted by Loren1 (user info) at 2004-01-15 16:23:33 EST (#)
Ranking: 0

I mean *parameter*

Submitted by Loren1 (user info) at 2004-01-15 16:23:06 EST (#)
Ranking: 0

This inspired me to zap my perameter ram.

Submitted by maiorano84 (user info) at 2004-01-15 16:09:59 EST (#)
Ranking: 0


RB - What are you talking about? You know full well that a boolean square root double nesting structure is completely unnecessary in this case. What he needs is a series of simple imbedded formulas based on basic quantum theory. MAKE SURE TO HAVE YOUR COMPUTER IN RADIANS!!! If not, the resulting algorithms in the flux capacitor will send you to 1357 Europe when the Black Plague was at its peak.

Have a nice day!

Submitted by reallybored (user info) at 2004-01-15 15:59:58 EST (#)
Ranking: 0

Personally, i used a boolean square root double nesting structure with a call to a parameters set that was defined in the global variable list.

Submitted by Insanethemind (user info) at 2004-01-15 15:59:00 EST (#)
Ranking: 0

and you should be spelling it 1337, n07 "leet" , f0o1


I PwN j00

Submitted by Insanethemind (user info) at 2004-01-15 15:54:00 EST (#)
Ranking: 0

yes, you should be using exec.




Submitted by tweeter <wellwoopidiedoo.at.msn.com> at 2004-01-15 15:49:19 EST (#)
Ranking: -2

I'd of helped you if you didn't put in that last sentence


Submitted by korthrun (user info) at 2004-01-15 15:41:48 EST (#)
Ranking: 0

It's a pre response to the people who would/will whine about how this is not a tech support forum etc etc.

Submitted by JinkyWilliams (user info) at 2004-01-15 15:35:35 EST (#)
Ranking: -1

Why did you feel it necessary to insert that last sentance?


Stay orange.
--JW

Submitted by firefly (user info) at 2004-01-15 15:34:17 EST (#)
Ranking: -2

what?

Submitted by korthrun (user info) at 2004-01-15 15:34:16 EST (#)
Ranking: 0

Oh, I want to keep expect and SUID wrappers out of the picture unless they are the only way.


I can't believe I ate the whole thing.

-- Homer Simpson
The Front