---
title: "if (rsfp = mypopen('/bin/mail root','w')) { /* heh, heh */ — Larry Wall Quote #240 | QuotesBy.net"
description: "if (rsfp = mypopen('/bin/mail root','w')) { /* heh, heh */ — a quote by Larry Wall."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

> # if (rsfp = mypopen('/bin/mail root','w')) { /\* heh, heh \*/

[Larry Wall](https://quotesby.net/Larry-Wall)\#240

[Security](https://quotesby.net/Larry-Wall/security/)[Automation](https://quotesby.net/Larry-Wall/automation/)[System calls](https://quotesby.net/Larry-Wall/system-calls/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9Cif%20%28rsfp%20%3D%20mypopen%28%27%2Fbin%2Fmail%20root%27%2C%27w%27%29%29%20%7B%20%2F%2A%20heh%2C%20heh%20%2A%2F%E2%80%9D%20%E2%80%94%20Larry%20Wall%20https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F240%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9Cif%20%28rsfp%20%3D%20mypopen%28%27%2Fbin%2Fmail%20root%27%2C%27w%27%29%29%20%7B%20%2F%2A%20heh%2C%20heh%20%2A%2F%E2%80%9D%20%E2%80%94%20Larry%20Wall&url=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F240%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F240%2F)

## About this quote

What does it mean?The code opens a mail process for the root user, with a light‑hearted comment about the action.In plain termsOpen a mail pipe to root, jokingly.What can you take from it?Add humor to remind yourself of potentially risky operations.

### Where it applies

- admin scripting
- monitoring

### Putting it to work

- log privileged actions
- review security implications

### Questions to consider

- What are the risks of this operation?
- How can you mitigate them?

### Another view

Running commands as root can be dangerous if not audited.

## More from Larry Wall

1. > /\* And you'll never guess what the dog had \*/ /\* in its mouth... \*/

[Permalink to quote \#241](https://quotesby.net/Larry-Wall/241/ "Permalink to quote 241")
2. > double value; /\* or your money back! \*/ short changed; /\* so triple your money back! \*/

[Permalink to quote \#236](https://quotesby.net/Larry-Wall/236/ "Permalink to quote 236")
3. > I think I'm happier with that. $rubyometer += 0.3 or so. :-)

[Permalink to quote \#235](https://quotesby.net/Larry-Wall/235/ "Permalink to quote 235")

## Related quotes

1. > Russia does not have in its possession any trustworthy data that supports the existence of nuclear weapons or any weapons of mass destruction in Iraq and we ha…

[Vladimir Putin](https://quotesby.net/Vladimir-Putin)[Vladimir Putin quote \#1](https://quotesby.net/Vladimir-Putin/1/ "Permalink to quote 1")
2. > Never let it be said that any enemy of MacGregor ever saw him defenseless and unarmed.

[Robert Roy MacGregor](https://quotesby.net/Robert-Roy-MacGregor)[Robert Roy MacGregor quote \#1](https://quotesby.net/Robert-Roy-MacGregor/1/ "Permalink to quote 1")
3. > 'We were escorted out of town in a bullet-proof bus because I said a pro-IRA statement in Antrim.'

[Dave Mustaine](https://quotesby.net/Dave-Mustaine)[Dave Mustaine quote \#1](https://quotesby.net/Dave-Mustaine/1/ "Permalink to quote 1")

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "if (rsfp = mypopen('/bin/mail root','w')) { /* heh, heh */",
    "url": "https://quotesby.net/Larry-Wall/240/",
    "spokenByCharacter": {
        "@type": "Person",
        "name": "Larry Wall"
    }
}
{
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
        {
            "@type": "ListItem",
            "position": 1,
            "name": "Home",
            "item": "https://quotesby.net/"
        },
        {
            "@type": "ListItem",
            "position": 2,
            "name": "Authors",
            "item": "https://quotesby.net/authors/"
        },
        {
            "@type": "ListItem",
            "position": 3,
            "name": "Larry Wall",
            "item": "https://quotesby.net/Larry-Wall"
        },
        {
            "@type": "ListItem",
            "position": 4,
            "name": "Quote #240",
            "item": "https://quotesby.net/Larry-Wall/240/"
        }
    ]
}
```
