Michael Christian wrote:
Next question. I want to automate user administration. The whole ‘useradmin useradd’ thing with its interactive interface and live password addition (who the heck only lets root set a user’s pasword?) is probably not going to work with our 500+ filers. 500xNumberOfAdmins. Yeah, right.
The docs point to fairly standard /etc/[passwd,shadow,group] files, but having added a user, I still don’t see them on my box. Has anyone automated user management?
Hello Michael
How about using expect? Excerpt from http://expect.nist.gov/ : "Expect is a tool for automating interactive applications such as telnet, ftp, passwd, fsck, rlogin, tip, etc. Expect really makes this stuff trivial. Expect is also useful for testing these same applications. And by adding Tk, you can also wrap interactive applications in X11 GUIs."
With the help of "expect" I wrote my own autoinstaller for filers named "NAAI" (NetApp AutoInstaller) who sets up our training machines every week. It's job is to wipe out all(!) tracks of the last week admin class. Connect to the Filers, "set-defaults" the BIOS, boot over TFTP, wipe out all data on the disks, step through the "setup" dialog, install licenses and ONTAP, set date and timezone, vol lang and options, and ... much more. ;-)
=> I really can recommend expect for automatisation of filer useradmin/password activities.
Best regards! Dirk