[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: CUPS progress?
From:       Brad Hards <bhards () bigpond ! net ! au>
Date:       2003-07-20 20:03:17
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 20 Jul 2003 13:02 pm, Michael Pyne wrote:
> On Thursday 17 July 2003 05:16, James Richard Tyrer wrote:
> > Adrian Bool wrote:
> > > I'd imagine the use of 'getpwent' would be the most suitable method?
> >
> > Isn't going to help if the: "/etc/passwd" file isn't readable by the
> > user, is it?
>
> I would imagine not, but on the vast majority of Un*x-like systems, the
> /etc/passwd file is readable by all.  Encrypted passwords are kept in a
> separate file like /etc/shadow on systems which strive for security, but
> /etc/passwd must be readable by all in order for simple things such as
> matching user names to passwords, for example.
On most systems, NSS will handle this. It might not be to /etc/passwd - it may 
end up reading an LDAP server or even some windows box. But it will return 
the value.

Brad
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/GvWFW6pHgIdAuOMRAtvxAJ9i6QHG5zB9utq+gUpDdST4YcfTIACbBWhw
shRqtJxMrwB7qyg+zLPnMG4=
=q2k0
-----END PGP SIGNATURE-----
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic