You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Execution-Policy isn't a thing on WIndows either, until PowerShell came along. The question is, does it make sense to implement ExecutionPolicy on Linux, or just let all scripts run unrestricted?
In my opinion, if a user installed PowerShell the interpreter on Linux, they would expect to be able to use it to run scripts, so an ExecutionPolicy preventing it would not make a lot of sense.
John W. Fawcett (@FawcettJohnW) do you think we should implement a "system policy" of some sort to disable PowerShell script execution?
If you believe in the concept of signing files (scripts, dll’s, etc.), then it seems to make sense to implement some sort of restrictions.
From: Andy Schwartzmeyer [mailto:[email protected]]
Sent: Wednesday, February 3, 2016 10:04 AM
To: PowerShell/PowerShell-Linux [email protected]
Cc: George Fleming (Insight Global) [email protected]
Subject: Re: [PowerShell-Linux] Set-ExecutionPolicy cmdlet is broken (#478)
In my opinion, if a user installed PowerShell the interpreter on Linux, they would expect to be able to use it to run scripts, so an ExecutionPolicy preventing it would not make a lot of sense.
@FawcettJohnWhttps://github.com/FawcettJohnW do you think we should implement a "system policy" of some sort to disable PowerShell script execution?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/478#issuecomment-179378779.
Activity
andyleejordan commentedon Feb 3, 2016
ExecutionPolicy is not a thing on Linux.
palladia commentedon Feb 3, 2016
Execution-Policy isn't a thing on WIndows either, until PowerShell came along. The question is, does it make sense to implement ExecutionPolicy on Linux, or just let all scripts run unrestricted?
andyleejordan commentedon Feb 3, 2016
In my opinion, if a user installed PowerShell the interpreter on Linux, they would expect to be able to use it to run scripts, so an ExecutionPolicy preventing it would not make a lot of sense.
John W. Fawcett (@FawcettJohnW) do you think we should implement a "system policy" of some sort to disable PowerShell script execution?
palladia commentedon Feb 3, 2016
If you believe in the concept of signing files (scripts, dll’s, etc.), then it seems to make sense to implement some sort of restrictions.
From: Andy Schwartzmeyer [mailto:[email protected]]
Sent: Wednesday, February 3, 2016 10:04 AM
To: PowerShell/PowerShell-Linux [email protected]
Cc: George Fleming (Insight Global) [email protected]
Subject: Re: [PowerShell-Linux] Set-ExecutionPolicy cmdlet is broken (#478)
In my opinion, if a user installed PowerShell the interpreter on Linux, they would expect to be able to use it to run scripts, so an ExecutionPolicy preventing it would not make a lot of sense.
@FawcettJohnWhttps://github.com/FawcettJohnW do you think we should implement a "system policy" of some sort to disable PowerShell script execution?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/478#issuecomment-179378779.