Title: Start-Job -Credential fails on Linux · Issue #7172 · PowerShell/PowerShell · GitHub
Open Graph Title: Start-Job -Credential fails on Linux · Issue #7172 · PowerShell/PowerShell
X Title: Start-Job -Credential fails on Linux · Issue #7172 · PowerShell/PowerShell
Description: Steps to reproduce Start Ubuntu 16.04 running in WSL. Start pwsh-preview (preview 3) Create another account (sudo adduser test (password: test) Execute su - test to log in and verify password. Exit that login. Execute: Start-Job -Credent...
Open Graph Description: Steps to reproduce Start Ubuntu 16.04 running in WSL. Start pwsh-preview (preview 3) Create another account (sudo adduser test (password: test) Execute su - test to log in and verify password. Exit...
X Description: Steps to reproduce Start Ubuntu 16.04 running in WSL. Start pwsh-preview (preview 3) Create another account (sudo adduser test (password: test) Execute su - test to log in and verify password. Exit...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/7172
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Start-Job -Credential fails on Linux","articleBody":"Steps to reproduce\r\n------------------\r\nStart Ubuntu 16.04 running in WSL.\r\nStart pwsh-preview (preview 3)\r\nCreate another account (sudo adduser test (password: test)\r\nExecute `su - test` to log in and verify password. Exit that login.\r\n\r\nExecute:\r\n\r\n```powershell\r\nStart-Job -Credential (Get-Credential) {whoami} | Wait-Job | Receive-Job\r\n```\r\n\r\nExpected behavior\r\n-----------------\r\n\r\nOutputs\r\n```none\r\ntest\r\n```\r\n\r\nActual behavior\r\n---------------\r\n\r\n```none\r\nAn error has occurred which PowerShell cannot handle. A remote session might have ended.\r\n+ CategoryInfo : OpenError: (localhost:String) [], PSRemotingDataStructureException\r\n+ FullyQualifiedErrorId : PSSessionStateBroken\r\n```\r\n\r\nEnvironment data\r\n----------------\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\n\r\n```powershell\r\n> $PSVersionTable\r\nName Value\r\n---- -----\r\nPSVersion 6.1.0-preview.3\r\nPSEdition Core\r\nGitCommitId v6.1.0-preview.3\r\nOS Linux 4.4.0-17134-Microsoft #112-Microsoft Thu Jun 07 22:57:00 PST 2018\r\nPlatform Unix\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n```\r\nI see this issue was referenced in #1365 and was closed as fixed. Perhaps a regression?\r\n","author":{"url":"https://github.com/rkeithhill","@type":"Person","name":"rkeithhill"},"datePublished":"2018-06-25T21:36:40Z","url":"https://github.com/PowerShell/PowerShell/issues/7172"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:552c29ce-69a2-0861-5aad-c6797aac36f8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A3EC:266BB:28DE7FF:38FA42F:6AFD52A5 |
| html-safe-nonce | 693bd54d49b7f4938ec1f53d3885522bb95d403b7744fa0d701b0cf2aac47633 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0VDOjI2NkJCOjI4REU3RkY6MzhGQTQyRjo2QUZENTJBNSIsInZpc2l0b3JfaWQiOiIxMTIwMDU0Njg1NzgxMDIxMzQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bf3f7ece8cb1c6a1cd7e559edb25806bfb794d110efc13e7a4ad43185d3e4624 |
| hovercard-subject-tag | issue:335577079 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/7172/issue_layout |
| twitter:image | https://opengraph.githubassets.com/20c8bacd6fdf8be849d414491440d080d8a69031a21530b0fc6beb81be9bd087/PowerShell/PowerShell/issues/7172 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/20c8bacd6fdf8be849d414491440d080d8a69031a21530b0fc6beb81be9bd087/PowerShell/PowerShell/issues/7172 |
| og:image:alt | Steps to reproduce Start Ubuntu 16.04 running in WSL. Start pwsh-preview (preview 3) Create another account (sudo adduser test (password: test) Execute su - test to log in and verify password. Exit... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rkeithhill |
| hostname | github.com |
| expected-hostname | github.com |
| None | 66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b6f01f7cb9f35f8c09949773241a3d49dd04b340 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width