Randall R Schulz wrote: > On Thursday 21 June 2007 10:16, Randall R Schulz wrote: >> On Thursday 21 June 2007 10:04, Razi Khaja wrote: >>> Hello, >>> >>> Just a quick question. What is /etc/hushlogins and what is it used >>> for? >>> >>> ... >>> >>> Mine is a nearly empty file, it only contains a newline >>> character. What is peculiar is that the file was created in 1994 >> Same here: >> >> % ls -l /etc/hushlogins >> -rw-r--r-- 1 root root 1 1994-01-08 15:30 /etc/hushlogins > > Also note the source of this file, the package "aaa_base": > > % rpm -q --whatprovides /etc/hushlogins > aaa_base-10.0-28 > > > On the other hand, "/etc/login.defs" comes from "pwdutils": > > % rpm -q --whatprovides /etc/login.defs > pwdutils-3.0.4-4.2
As a quick side question, what is the difference between --whatprovides and --file (-f)? Looking at the man page, it seems like whatprovides is a more general case of --file? What sort of other things besides files could you look for? -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, an Open OS weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
