Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How to use su in a script
Post: RE: How to use su in a script

(Nov-12-2020, 03:28 PM)DeaD_EyE Wrote: Quote:Use SU from within the script without having to enter a password Then you've to provide a password in your script or in an additional file. This is a bi...
edlentz General Coding Help 3 30,215 Nov-13-2020, 08:14 PM
    Thread: How to use su in a script
Post: How to use su in a script

I have a script that will run some system commands and they need root level access. I do not want to give the user root access. I want the user to just be able to hit the selection and have the comm...
edlentz General Coding Help 3 30,215 Nov-12-2020, 02:56 PM
    Thread: password exit
Post: password exit

Hi I am pretty new at python and this is out of my knowledge so far. I have a script that I am using to run commands on a Centos system. The commands run when I am logged in as root (ssh). I create...
edlentz General Coding Help 0 1,225 Nov-11-2020, 09:49 PM
    Thread: How to close a ssh session
Post: How to close a ssh session

I have a small script using os.session to run some specific commands. Typically a user will log into the server over SSH and I have the script running as soon as they log in. I wish to be able to cl...
edlentz General Coding Help 0 1,514 Nov-09-2020, 02:24 PM
    Thread: Need someone to help me edit this script
Post: Need someone to help me edit this script

I found a script that will send SIP messages to devices. It uses a template to setup the info to be sent. The template is this NOTIFY sip:unknown@%(dest_ip)s SIP/2.0 Via: SIP/2.0/UDP %(source_ip)s:%...
edlentz General Coding Help 1 1,911 Apr-04-2019, 09:00 PM
    Thread: SIP content ID help
Post: SIP content ID help

I am trying to use SIPPing to send SIP commands to my phones. It uses txt files as templates for the messages. I am trying to send a check-sync commend to the phones. They need some kind of content...
edlentz Networking 0 2,033 Mar-13-2019, 01:17 PM
    Thread: Need help with file renaming
Post: RE: Need help with file renaming

I am only starting this and I have not tried anything yet. I know next to nothing about python.
edlentz General Coding Help 3 2,531 Aug-06-2018, 03:40 PM
    Thread: Need help with file renaming
Post: Need help with file renaming

Hi all, I need help and I don't know to do this. Here is what I need to do. I have a file that I need to : a. copy b. rename it from a list All the copies need to be the same but only the name...
edlentz General Coding Help 3 2,531 Aug-06-2018, 02:23 PM
    Thread: I am a total noob, I need this reworked
Post: RE: I am a total noob, I need this reworked

Better? I found some other code and I am getting the IP address and port of the phones to print, so I know I am on the right track. So the task is to send the notify message back to the phone with th...
edlentz Networking 4 4,733 Dec-07-2017, 08:40 PM
    Thread: I am a total noob, I need this reworked
Post: RE: I am a total noob, I need this reworked

Anyone have any ideas?
edlentz Networking 4 4,733 Dec-01-2017, 04:20 PM
    Thread: I am a total noob, I need this reworked
Post: I am a total noob, I need this reworked

OK so I know enough about Python and that is that I don't know it. I normally install IP phones not program them. Anyuway, I have been looking all over for a script to tell my phones where the server ...
edlentz Networking 4 4,733 Oct-06-2017, 07:09 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020