diff options
author | Philip Hands <phil@hands.com> | 2016-05-11 17:11:01 +0200 |
---|---|---|
committer | Philip Hands <phil@hands.com> | 2016-05-11 17:11:01 +0200 |
commit | a5d56e3b5443263b53b0487c81125123411bd0cf (patch) | |
tree | 71b1bdafc0a5978bca9073609eff33e228e29a12 /features/root_access_control.feature | |
parent | 555d9414f758cc0062eff700a0352ae177fd9be5 (diff) | |
download | jenkins.debian.net-a5d56e3b5443263b53b0487c81125123411bd0cf.tar.xz |
move cucumber things under cucumber/
Diffstat (limited to 'features/root_access_control.feature')
-rw-r--r-- | features/root_access_control.feature | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/features/root_access_control.feature b/features/root_access_control.feature deleted file mode 100644 index 569dd2a8..00000000 --- a/features/root_access_control.feature +++ /dev/null @@ -1,33 +0,0 @@ -@product -Feature: Root access control enforcement - As a Tails user - when I set an administration password in Tails Greeter - I can use the password for attaining administrative privileges. - But when I do not set an administration password - I should not be able to attain administration privileges at all. - - Scenario: If an administrative password is set in Tails Greeter the live user should be able to run arbitrary commands with administrative privileges. - Given I set sudo password "asdf" - And I log in to a new session - And Tails Greeter has dealt with the sudo password - Then I should be able to run administration commands as the live user - - Scenario: If no administrative password is set in Tails Greeter the live user should not be able to run arbitrary commands administrative privileges. - Given I have started Tails from DVD without network and logged in - And Tails Greeter has dealt with the sudo password - Then I should not be able to run administration commands as the live user with the "" password - And I should not be able to run administration commands as the live user with the "amnesia" password - And I should not be able to run administration commands as the live user with the "live" password - - Scenario: If an administrative password is set in Tails Greeter the live user should be able to get administrative privileges through PolicyKit - Given I set sudo password "asdf" - And I log in to a new session - And Tails Greeter has dealt with the sudo password - And GNOME has started - And running a command as root with pkexec requires PolicyKit administrator privileges - Then I should be able to run a command as root with pkexec - - Scenario: If no administrative password is set in Tails Greeter the live user should not be able to get administrative privileges through PolicyKit with the standard passwords. - Given I have started Tails from DVD without network and logged in - And running a command as root with pkexec requires PolicyKit administrator privileges - Then I should not be able to run a command as root with pkexec and the standard passwords |