New answers tagged privileges
It's improper to say that: "It seems that on Ubuntu, calls to sudo from the GUI are somehow being intercepted by pkexec". pkexec doesn't have to many things in common with sudo. In contrast with sudo, pkexec does not grant root permission to an entire process, but rather allows a finer level of control of centralized system policy. Now, if you want to run a ...
My guess is that you just want to be able to execute your executable for the shell, without giving the full path to the executable. The PATH environment variable holds the directories that are searched when executing an arbitrary command in a shell. Just type echo $PATH in a shell and you will see the searched directories, separated by a :. The thing now ...
I believe the GUI apps talk to policykit & consolekit over dbus. There is also a requirement that you login from a 'modern' display manager like lightdm or gdm and not xdm or from a tty (and user startx/xinit). Make sure you have all the relevant policykit & consolekit packages installed and that dbus is running properly.
simply use su. This would be like the following su admin1 Password: Give the correct password of admin1. Done. To know more about -i option that you are using see the manpage -i [command] The -i (simulate initial login) option runs the shell specified by the password database entry of the target user as a ...
exit is the command you are looking for. It will exit the current user's shell session and return to its parent, which in this case is the session of the admin user.
I just copied the files '/etc/pam.conf' and '/etc/security/pam_env.conf' and the folder 'pam.d' from the Ubuntu Installation Disk.
i think you are looking for: extundelete - utility to recover deleted files from ext3/ext4 partition To find such a package, you can try: apt-cache search undelete To use the utility install it with: sudo apt-get install extundelete After installation click here and read it carefully For getting back sudo privileges create a file pkexec gedit ...
Reinstall libpam-runtime: sudo apt-get --reinstall install libpam-runtime libpam-modules If you can't use sudo, use root shell in the recovery mode. You must use wired connection and type: apt-get --reinstall install libpam-runtime libpam-modules You can use the root shell and copy the same file saved somewhere else copied from another system or purge ...
mysqldump will need a password for the mysql user root. If you don't supply that password it won't work, sudo or no sudo. mysqldump can look at your .my.cnf file to get the password, and it'll get that from the user runing the mysqldump command. So, if the Linux root user has a .my.cnf configured with a password in it, then yes, sudo will help. However, if ...
Top 50 recent answers are included