Hi, thats my matter: I don't want to prompt my password every time I want to install a new app or things like that. I want to be requested of my pass just when I start my computer. How should I do this? Im in ubuntu 10.04 LTS
Hi, thats my matter: I don't want to prompt my password every time I want to install a new app or things like that. I want to be requested of my pass just when I start my computer. How should I do this? Im in ubuntu 10.04 LTS
Asking you for your password when you are doing something that modifies important parts of your running system is an inherent safety feature and should not be bypassed.
404
I don't think its a good idea either, but your choice.
http://www.googlubuntu.com/results/?...Search&lang=en
Well I don't want to disable it completely, just for the software center. Even better, I want the system to remember the pass so I would have just to confirm. Is that possible?
Read man sudoers very carefully
The timestamp_timeout for sudo (according to sudoers man-page) is 15 minutes by default. That means you have 15 minutes until the password (you have given) reset.
Now , gksudo is the command to open GUI applications (like software center) with root privileges . Logically gksudo follows the timestamp of sudo ,timestamp_timeout
Number of minutes that can elapse before sudo will ask
for a passwd again. The timeout may include a
fractional component if minute granularity is
insufficient, for example 2.5. The default is 15.
so
if you open software-center with gksudo , you will have 15 minutes until your password be reset
Be aware here , I never tested it.
Open a terminal and test it.
If my thought above is correct , then you can do it permanently by changing the "Exec=" line in ubuntu-software-center.desktop file , inside /usr/share/applications/Code:gksudo software-center
Thanks
@^^
I am not sure of the exact duration but after entering your password into Software Center there is a period where you can add more software and it won't request your password again...
404
Let me first say that I somehow understand where you're coming from. But how often do you really install software and are prompted for a password? How many upgrades are coming along where you have to type your password? And how much system maintenance do you do?
PS
In my personal Windows setup, I have to switch user to administrator before I even can install software
If you don't make backups of your important data, your data is obviously not important to you.
Take this as you may, I use this here though slightly more extended to some other related operations.
This will allow those in sudo group, (typically just you), to install/remove apps thru the software-center or synaptic without add. auth
Copy & paste this in, saveCode:sudo gedit /var/lib/polkit-1/localauthority/50-local.d/package-manager.pkla
Code:[Install package file] Identity=unix-group:sudo Action=org.debian.apt.install-file;org.debian.apt.update-cache;org.debian.apt.install-or-remove-packages;org.debian.apt.upgrade-packages ResultActive=yes [Install package synaptic] Identity=unix-group:sudo Action=com.ubuntu.pkexec.synaptic ResultActive=yes
Bookmarks