Hot answers tagged

5

All such requests are logged in /var/log/auth.log in a format that looks similar to (anything from polkitd in there should relate to these forms of authentication request): Apr 23 17:45:09 tester-VirtualBox polkitd(authority=local): Operator of unix-session:c2 successfully authenticated as unix-user:tester to gain TEMPORARY authorization for action ...


2

That's easy! It's called the guest session! Just give that particular user a USB stick to save their files to and you've got picture-perfect isolation without any additional work! If that's not restrictive enough, you can customise the guest session with all of your requirements... ;-)


2

Don't reinvent the wheel. The id command can do exactly that: $ id foobar uid=1000(foobar) gid=1000(foobar) groups=1000(foobar),4(adm),20(dialout),24(cdrom) replace foobar with your desired username. Check man id to get more idea.


1

To add users via the gui : go to the System Settings (the cog icon) -> User Accounts If you want to add users via the cli: sudo adduser USERNAME --ingroup phablet If you still have problems: check the permissions of the password file: ls -l /etc/passwd they should be -rw-r--r-- and belong to root:root you can fix this with chmod to change ...


1

I've written a script that parses authentication logs. The basic idea that any installation attempt requires authentication from sudo and polkit. The script doesn't list whether or not installation attempt was successful or not - only the fact that user attempted to install something ; this feature might be added in future. The reason for that is ...


1

When you boot your computer, press shift when the BIOS is done. You should end up in the grub boot menu, if now try again. There you choose advanced options for UBUNTU, and then your your actual kernel in recovery mode. You should end up in a menu where you can choose to be root and end up in a shell as such. Now remount your drive into read/write access. ...



Only top voted, non community-wiki answers of a minimum length are eligible