The Cookie Machine - Click here to drag window

The Cookie Machine (TCM) Future Applications:

☑ View cookies used on the Pippim website.
☑ Send cookie via mail. For backup or sharing.
☑ Receive cookie via mail. From yourself or colleague.
☑ Countdown Timers. For multi-phase time sensitive missions.
☑ And in the future... Other ways of sharing/using Cookies.

If you can read me, I'm broken!

Views: 260     Votes:  4 
Tags: python   sudo  
Link: 🔍 See Original Answer on Stack Overflow ⧉ 🔗


Put this into your Python program/script:

#import os

if os.geteuid() == 0:
    exit("You cannot call 'mmm' using using 'sudo' powers. Exiting.")

Of course you would replace mmm with your own python filename.

⇧ Cancel buttons Zenity How to switch back to default booting process?  ⇩