This has been answered in another question on another StackExchange site but this is basically what you need to do:
While the user you need to modify is logged out and you're logged in as another sudoer user, do the following:
sudo usermod -l newUsername oldUsername
This changes your username but not your home folder. If you're okay with having a ...
How can I add new user to sudoers file?
If you wish to create a user with sudo privilege, execute,
sudo adduser --ingroup sudo <username>
If you wish to add an existing user, execute
sudo usermod -aG sudo <username>
It is normal for your system to have some system users and system users are usually not listed in the user accounts under system settings. To check them execute the following command in terminal,
sudo cat /etc/passwd
If you are currently logged in with the root account you can ignore the term sudo which is used to give a user superuser permission.
Pretty simple answer for this one. In order to the data be deleted with the removal of the user, one has to click on the delete user (small minus sign at the bottom of the user administration settings) instead of simply blocking the user.
You can customize your guest session under elementary OS. In your case you might only want to copy some of the configuration files of your Administrator account (startup apps, dock apps, etc.) to /etc/guest-session/skel that will be copied for each new guest login.
The customization steps for elementary OS are pretty much the same as for Ubuntu: https://...
You can try to do so using command line. Here's the help page. In particular you need to use,
sudo nano /etc/lightdm/lightdm.conf
and thereafter, add the following lines,
This is slightly different than what's mentioned in help ...
Try method described here: https://askubuntu.com/questions/351991/mounting-disk-drives-among-different-users. It worked OK for me. Note however that the last command given should be sudo chgrp <groupname> <mountpoint>
There is a plus (+) and a minus (-) button at the bottom left corner of the User Accounts window to add or delete accounts.
To delete an account, select the account and click on the minus button. You need to be an Administrator to delete an account.
You could try old school, text terminal approach:
deluser [options] <user>
Try man deluser first to get more information.
Certainly one should remove users while having administrator privileges, so either su - or sudo would be handy, too.
I have the same issue. The parental control does not do anything.
My current workaround is to use ufw. For my son, I wanted him to only be able to get and send email on his own, hence I allowed only outgoing connections to the smtp (587) and imap (993) ports of his email account, as well as to dns (port 53):
sudo ufw default deny outgoing
sudo ufw default ...
Here the goal is to allow new admin to access files whose permissions and ownership are under old admin.
In such cases you can do following:
change the file ownership or
chown user:group filename
Add new admin to group old admin
I suspect one of the following:
logind is not correctly assigning your session a logind session
you are not in the adm group
polkit is broken for some other reason
You can make sure that the second case is not causing an issue by adding your user to the adm group: sudo adduser @USERNAME@ adm (replace @USERNAME@ with your username).