LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How Can I change the Root Password?
#21
I'm getting 15 lines like this when running "sudo updatedb"
Code:
/usr/bin/find: `/home/user/.gvfs': Permission denied
I'm getting this with "locate pwd"
Code:
/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

With "locate passwd" I get
Code:
$ 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

I'll start another thread about my other problem

Cheers Bro
[Image: rTN9Yh0.jpg]

Should the package manager ideally run that code "updatedb" whenever it adds/removes packages?
Reply
#22
Quote:Should the package manager ideally run that code "updatedb" whenever it adds/removes packages?

No. I think a Cron job handles that later but cannot swear to it (see below sentence). updatdb needs to be run manually  1st before the cron job kicks in though.
Because I have seen locate has not been updated errors after a certain amount of days have passed without running updatedb manually on my rigs.

Code:
man locate

might fill in the blanks in this post.

http://linux.die.net/man/1/locate

Quote: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.
LL 3.6,2.8
Dell XT2 > Touchscreen Laptop
Dell 755 > Desktop
Acer 150 > Desktop
I am who I am. Your approval is not needed.
Reply
#23
I was thinking about Ikey's package manager rather than debian.

Man pages and techie stuff is out of my remit but I can follow intructions, I am one of those customers you dread!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)