How can I check other user info in non-privileged mode?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think I've documented this somewhere in my documents somewhere.

But the short story is, it depends on how you bind to your LDAP directory 
ie anonymously or with bind to it with a user/pw etc.

Normally normal users don't (Ie only user who has power is root everyone 
is useless unless they are elevated to root via sudoers etc) have the 
necessary previledges to do a lookup in the LDAP information although they 
are authenticated.

To solve this problem you need to run name service cache daemon or nscd 
which basically binds the lookup as root which caches the information 
locally for users ie passwd, shadow, group etc.

 					Regards Ashley




On Mon, 16 Apr 2007, Yu Joe wrote:

> Dear all
>
> I've just set up fedora directory server for centrailizing my system
> accounts . I could  log in the system by any of my ldap accounts, but
> suddently  found I cannot get other user info by "id" or "getent passwd"
> command when I was in the non-privileged user mode.  Does anyone know why?
> Because I can do this in root-user or nis enviornment. Somebody helps,
> please. Thanks anyway.
>
> Joe Yu
> One of the RHCEs in Taiwan.
>
>
> !DSPAM:272,4623313116977933430235!
>

-- 
Ashley Chew - Systems Administrator
School of Computer Science and Software Engineering
University of Western Australia
Tel: (+61 8) 6488 7082 - Fax: (+61 8) 6488 1089
Ashley[@]csse.uwa.edu.au - http://www.csse.uwa.edu.au/~ashley

"There is no such thing as Fate, Fate is what you make of it!"




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux