0 Members and 1 Guest are viewing this topic.
Should the package manager ideally run that code "updatedb" whenever it adds/removes packages?
man locate
By default, locate does not check whether files found in database still exist. locate can never report files created after the most recent update of the relevant database.
/usr/bin/find: `/home/user/.gvfs': Permission denied
/bin/pwd/etc/.pwd.lock/home/user/data/ukbrian--/apps/doublecmd/doublecmd/pwd.ini/lib/modules/3.2.0-4-686-pae/kernel/drivers/watchdog/hpwdt.ko/sbin/unix_chkpwd/usr/bin/pwdx/usr/include/pwd.h/usr/lib/python2.6/dist-packages/twisted/python/fakepwd.py/usr/lib/python2.6/dist-packages/twisted/python/test/test_fakepwd.py/usr/lib/python2.7/dist-packages/twisted/python/fakepwd.py/usr/lib/python2.7/dist-packages/twisted/python/fakepwd.pyc/usr/lib/python2.7/dist-packages/twisted/python/test/test_fakepwd.py/usr/lib/python2.7/dist-packages/twisted/python/test/test_fakepwd.pyc/usr/lib/syslinux/pwd.c32/usr/share/man/fr/man1/pwd.1.gz/usr/share/man/fr/man1/pwdx.1.gz/usr/share/man/man1/pwd.1.gz/usr/share/man/man1/pwdx.1.gz/usr/share/man/man8/unix_chkpwd.8.gz/usr/share/perl/5.14.2/pwd.pl/usr/share/pyshared/twisted/python/fakepwd.py/usr/share/pyshared/twisted/python/test/test_fakepwd.py
$ locate passwd/etc/cron.daily/passwd/etc/pam.d/chpasswd/etc/pam.d/passwd/etc/passwd/etc/passwd-/etc/security/opasswd/usr/bin/gpasswd/usr/bin/grub-mkpasswd-pbkdf2/usr/bin/lppasswd/usr/bin/passwd/usr/bin/smbpasswd/usr/include/rpcsvc/yppasswd.h/usr/include/rpcsvc/yppasswd.x/usr/lib/netatalk/uams_dhx2_passwd.a/usr/lib/netatalk/uams_dhx2_passwd.so/usr/lib/netatalk/uams_passwd.a/usr/lib/netatalk/uams_passwd.so/usr/sbin/chgpasswd/usr/sbin/chpasswd/usr/sbin/update-passwd/usr/share/app-install/desktop/kdepasswd.desktop/usr/share/app-install/desktop/redhat-userpasswd.desktop/usr/share/base-passwd/usr/share/base-passwd/group.master/usr/share/base-passwd/passwd.master/usr/share/cups/doc-root/help/man-lppasswd.html/usr/share/doc/base-passwd/usr/share/doc/base-passwd/changelog.gz/usr/share/doc/base-passwd/copyright/usr/share/doc/base-passwd/README/usr/share/doc/base-passwd/users-and-groups.html/usr/share/doc/base-passwd/users-and-groups.txt.gz/usr/share/doc/libnet-ssleay-perl/examples/passwd-cb.pl/usr/share/doc/passwd/usr/share/doc/passwd/changelog.Debian.gz/usr/share/doc/passwd/changelog.gz/usr/share/doc/passwd/copyright/usr/share/doc/passwd/examples/usr/share/doc/passwd/examples/passwd.expire.cron/usr/share/doc/passwd/NEWS.Debian.gz/usr/share/doc/passwd/NEWS.gz/usr/share/doc/passwd/README/usr/share/doc/passwd/README.Debian/usr/share/doc/passwd/TODO.gz/usr/share/lintian/overrides/passwd/usr/share/man/cs/man1/gpasswd.1.gz/usr/share/man/cs/man5/passwd.5.gz/usr/share/man/de/man1/gpasswd.1.gz/usr/share/man/de/man1/passwd.1.gz/usr/share/man/de/man5/passwd.5.gz/usr/share/man/de/man8/chpasswd.8.gz/usr/share/man/de/man8/update-passwd.8.gz/usr/share/man/es/man8/update-passwd.8.gz/usr/share/man/fr/man1/gpasswd.1.gz/usr/share/man/fr/man1/passwd.1.gz/usr/share/man/fr/man1/passwd.1SSL.gz/usr/share/man/fr/man5/passwd.5.gz/usr/share/man/fr/man8/chpasswd.8.gz/usr/share/man/fr/man8/update-passwd.8.gz/usr/share/man/hu/man1/gpasswd.1.gz/usr/share/man/hu/man1/passwd.1.gz/usr/share/man/hu/man5/passwd.5.gz/usr/share/man/it/man1/gpasswd.1.gz/usr/share/man/it/man1/passwd.1.gz/usr/share/man/it/man5/passwd.5.gz/usr/share/man/it/man8/chpasswd.8.gz/usr/share/man/ja/man1/gpasswd.1.gz/usr/share/man/ja/man1/passwd.1.gz/usr/share/man/ja/man5/passwd.5.gz/usr/share/man/ja/man8/chpasswd.8.gz/usr/share/man/ja/man8/update-passwd.8.gz/usr/share/man/ko/man5/passwd.5.gz/usr/share/man/man1/gpasswd.1.gz/usr/share/man/man1/grub-mkpasswd-pbkdf2.1.gz/usr/share/man/man1/lppasswd.1.gz/usr/share/man/man1/passwd.1.gz/usr/share/man/man1/passwd.1ssl.gz/usr/share/man/man5/passwd.5.gz/usr/share/man/man5/smbpasswd.5.gz/usr/share/man/man8/chgpasswd.8.gz/usr/share/man/man8/chpasswd.8.gz/usr/share/man/man8/smbpasswd.8.gz/usr/share/man/man8/update-passwd.8.gz/usr/share/man/pl/man8/update-passwd.8.gz/usr/share/man/pt_BR/man1/gpasswd.1.gz/usr/share/man/pt_BR/man5/passwd.5.gz/usr/share/man/ru/man1/gpasswd.1.gz/usr/share/man/ru/man1/passwd.1.gz/usr/share/man/ru/man5/passwd.5.gz/usr/share/man/ru/man8/chpasswd.8.gz/usr/share/man/ru/man8/update-passwd.8.gz/usr/share/man/sv/man1/passwd.1.gz/usr/share/man/sv/man5/passwd.5.gz/usr/share/man/tr/man1/passwd.1.gz/usr/share/man/tr/man5/passwd.5.gz/usr/share/man/zh_CN/man1/gpasswd.1.gz/usr/share/man/zh_CN/man1/passwd.1.gz/usr/share/man/zh_CN/man5/passwd.5.gz/usr/share/man/zh_CN/man8/chpasswd.8.gz/usr/share/man/zh_TW/man5/passwd.5.gz/usr/share/man/zh_TW/man8/chpasswd.8.gz/var/backups/passwd.bak/var/lib/dpkg/info/base-passwd.list/var/lib/dpkg/info/base-passwd.md5sums/var/lib/dpkg/info/base-passwd.postinst/var/lib/dpkg/info/passwd.conffiles/var/lib/dpkg/info/passwd.list/var/lib/dpkg/info/passwd.md5sums/var/lib/dpkg/info/passwd.postinst/var/lib/dpkg/info/passwd.preinst
sudo updatedb
locate pwd
locate passwd
/etc/.pwd.lock
I would go for a shot of tea-quila.
user ALL=NOPASSWD: /usr/bin/thunar
Can I make you a nice cup of tea Mr AustinTexas, you have saved an old man from doing a boring pointless task many times a day, with this increase in my productivity I might be able to retire early.
If the disk is based on Mint the root password may be blank. The sudo commands on some live cd/dvd don't require a password.
Is there a line I can add to sudoers that would do what I want I normally add "user ALL=(ALL) NOPASSWD: ALL"