Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] executing a command that requires root from a python script
- Date: Wed, 8 Aug 2007 09:21:26 +0900 (JST)
- From: Curt Sampson <cjs@example.com>
- Subject: Re: [tlug] executing a command that requires root from a python script
- References: <a96ae3bb0708061851h57e2d95fr5ef8173c56d68f2c@mail.gmail.com> <46B7D8E7.9070708@simon-cozens.org> <200708072156.29347.tlug@extellisys.net>
On Tue, 7 Aug 2007, tlug@example.com wrote:
I second Simon's suggestion for using sudo. Simply add a line in your sudo configuration file that specifies that no password is required to run the command that you need root privileges for.
Or "sudo -v" before you start.
Or export SUDO_PROMPT="sudo pw for %u@example.com:" and you'll be nicely prompted for your sudo pw once for all operations over the next few minutes.
cjs -- Curt Sampson <cjs@example.com> +81 90 7737 2974 Mobile sites and software consulting: http://www.starling-software.com
- References:
- [tlug] executing a command that requires root from a python script
- From: Hector Akamine
- Re: [tlug] executing a command that requires root from a python script
- From: Simon Cozens
- Re: [tlug] executing a command that requires root from a python script
- From: tlug
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] How to use FF's shortcuts
- Next by Date: Re: [tlug] using mutt in a bash script: Quoting Wierdness
- Previous by thread: Re: [tlug] executing a command that requires root from a python script
- Next by thread: RE: [tlug] executing a command that requires root from a python script
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links