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: Tue, 07 Aug 2007 11:28:55 +0900
- From: Simon Cozens <simon@example.com>
- Subject: Re: [tlug] executing a command that requires root from a python script
- References: <a96ae3bb0708061851h57e2d95fr5ef8173c56d68f2c@mail.gmail.com>
- User-agent: Thunderbird 2.0.0.5 (Macintosh/20070716)
Hector Akamine wrote: > I would like to execute a command that requires root privileges from a > python script, for example something like "su -l -c ifconfig" > (I don't want my entire python script running with root privileges). Can you use sudo instead? That's the sort of thing it was designed for. -- 10. The Earth quakes and the heavens rattle; the beasts of nature flock together and the nations of men flock apart; volcanoes usher up heat while elsewhere water becomes ice and melts; and then on other days it just rains. - Prin. Dis.
- Follow-Ups:
- References:
- [tlug] executing a command that requires root from a python script
- From: Hector Akamine
Home | Main Index | Thread Index
- Prev by Date: [tlug] RE: [OT] A Wiki Question
- Next by Date: [tlug] [OT] A Wiki Question
- Previous by thread: [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