As you’re not logged-in to your shell as ‘admin’, you’ll need to prefix the command with sudo like: sudo parted -l
sudo
sudo parted -l