Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • He said he wanted to run a specific python script, not just the python command. In addition, depending on the the pam configuration of the host, he might also need to add the program to /etc/shells. Commented Jul 12, 2023 at 13:47
  • The OP asked for a solution to run a command not enter a shell (I think another comment also noted this), you need to change or clarify the solution. Commented Jul 16, 2023 at 23:06