Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

exec /usr/sbin/userdel "$@"
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ apps:
useradd:
command: bin/useradd
plugs: [account-control]
deluser:
command: bin/deluser
userdel:
command: bin/userdel
plugs: [account-control]
chpasswd:
command: bin/chpasswd
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

exec /usr/sbin/userdel "$@"
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ apps:
useradd:
command: bin/useradd
plugs: [account-control]
deluser:
command: bin/deluser
userdel:
command: bin/userdel
plugs: [account-control]
chpasswd:
command: bin/chpasswd
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

exec /usr/sbin/userdel "$@"
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ apps:
useradd:
command: bin/useradd
plugs: [account-control]
deluser:
command: bin/deluser
userdel:
command: bin/userdel
plugs: [account-control]
chpasswd:
command: bin/chpasswd
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

exec /usr/sbin/userdel "$@"
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ apps:
useradd:
command: bin/useradd
plugs: [account-control]
deluser:
command: bin/deluser
userdel:
command: bin/userdel
plugs: [account-control]
chpasswd:
command: bin/chpasswd
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

exec /usr/sbin/userdel "$@"
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ apps:
useradd:
command: bin/useradd
plugs: [account-control]
deluser:
command: bin/deluser
userdel:
command: bin/userdel
plugs: [account-control]
chpasswd:
command: bin/chpasswd
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

exec /usr/sbin/userdel "$@"
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ apps:
useradd:
command: bin/useradd
plugs: [account-control]
deluser:
command: bin/deluser
userdel:
command: bin/userdel
plugs: [account-control]
chpasswd:
command: bin/chpasswd
Expand Down
5 changes: 2 additions & 3 deletions tests/main/interfaces-account-control/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ details: |
This test makes sure that a snap using the account-control interface
can handle the user accounts properly.

systems: [ubuntu-core-16-64, ubuntu-core-18-64, ubuntu-core-20-64, ubuntu-core-22-64, ubuntu-core-24-64, ubuntu-core-26-64]
systems: [ubuntu-core-*]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so we expect this test to fail whenever a new UC system is added and then add the local snap files for that UC version?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, and I think that's probably best anyway. That way we know we need to update this test and it doesn't fall behind as it did.


environment:
TSNAP: account-control-consumer
Expand Down Expand Up @@ -42,5 +42,4 @@ execute: |
snap run "${TSNAP}${SUFFIX}".useradd --extrausers alice
echo alice:password | snap run "${TSNAP}${SUFFIX}".chpasswd

# User deletion is unsupported yet on Core: https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1659534
# snap run "${TSNAP}${SUFFIX}".userdel --extrausers alice
snap run "${TSNAP}${SUFFIX}".userdel --extrausers alice
Loading