You can setup an entry in the /etc/sudoers file for this user to be able to use the mount command. Add something like the following to the end of the /etc/sudoers file:
username ALL=NOPASSWD: /usr/bin/mount, /sbin/mount.ntfs-3g, /usr/bin/umount
Be sure that the exact path to each executable is correct for your system. For example, your mount command might be in /bin instead of /usr/bin.
Adding the mount.ntfs-3g part is important to provide that access for the user. I can see in your mount command that you are using a ntfs-3g filesystem type.
You could, instead, create a shell script to handle the mounting/unmounting and place that in your sudoers file. For example:
create /usr/local/bin/mount-ntfs-drive script:
#!/bin/bash device_path="/dev/disk/by-uuid/CEE0476DE0388DA9/" mount_point="/mnt/USBexternal" if [ "$1" = "-u" ] ; then # do unmount /bin/umount $mount_point else # do mount /bin/mount $device_path $mount_point fi edit /etc/sudoers file:
username ALL=NOPASSWD: /usr/local/bin/mount-ntfs-drive
Be sure to do chmod +x /usr/local/bin/mount-ntfs-drive. Also, when your user runs the file, they will need to use the fully qualified path for it to work. It might work from their path but not sure.
sudo /usr/local/bin/mount-ntfs-drive