Adding users after replacing NIS

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

 



>
> My question now is, how do I add new users to the DS...
>   

To add data to your directory, including users, you can use whatever 
LDAP modification tool you like.  The most basic option is the 
ldapmodify command, but depending on how often you add or update users, 
you will probably get tired of manually typing LDIF input for 
ldapmodify.  You could also use the Fedora console, write your own 
scripts, or look into other LDAP admin programs (there are several).

> ...with the necessary shadowAccount attributes? How do I generate the crypted userPassword, shadowLastChange, etc. values?
Using your favorite LDAP admin program :), you can assign whatever 
initial values you want for the shadow attributes.
If pam/nss_ldap is so configured on your Linux clients, the passwd 
command will update the shadow attributes when passwords are changed.
Solaris 8 LDAP clients ignore shadow attributes, so you might not want 
to rely on LDAP-based shadow if you have Solaris 8 in your environment.

Fedora DS can hash passwords several ways, including crypt.  You can 
choose the default password hash in the Fedora console.  The directory 
server will hash userPassword attributes with whatever hash you select.

Note that changes to the default password hash are only effective for 
subsequent userPassword updates.  In other words, changing the hash does 
not cause a re-hash of every userPassword attribute in the directory.

-- George


Oscar A. Valdez wrote:
> I've followed the instructions in Gerald Carter's "LDAP System
> Administration", specifically those in Chapter 6: Replacing NIS.
>
> I've used PADL's scripts to migrate the info
> from /etc/passwd, /etc/shadow, and /etc/group into the DS server. My
> question now is, how do I add new users to the DS, with the necessary
> shadowAccount attributes? How do I generate the crypted userPassword,
> shadowLastChange, etc. values?
>   





[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