Hi Nikhil,
>>>>> "Nikhil" == Nikhil Datta <[EMAIL PROTECTED]> writes:
Nikhil> I've setup a NIS/NFS server for my college intranet, with
Nikhil> some linux workstations logging in. This is my first
Nikhil> experiment with NIS/NFS, and I have a couple of problems.
Nikhil> The whole setup is working fine, except : 1) If a user
Nikhil> changes his password on the client using yppasswd, it
Nikhil> gives all the right signals (password changed on server
Nikhil> etc.), but logging on from the node does not work with the
Nikhil> new password. However, the password has actually been
Nikhil> updated on the server ( ie. I can telnet in with the new
Nikhil> password). restarting ypserv/ypbind etc does not help. So
Nikhil> How do I get the server to update the maps on the clients
Nikhil> ? (I believe yppush is only for slave servers).
I presume that you've checked that the clients are binding to the
server with ``ypwhich''. I've forgotten most of my YP, but AFAIR you
also need to add +:::::: at the end of /etc/passwd and/or ``yp'' or
``nis'' in /etc/nsswitch.conf. You could also have this problem if
the user accounts exists on both the server and the client machines.
Nikhil> 2) I've
Nikhil> been given a new machine to use as a linux file server, so
Nikhil> I want to transfer all the users home directories to
Nikhil> it. I've exported /home via nfs, but even root on the
Nikhil> client machine is unable to view/read the contents of any
Nikhil> users home directories. users can see their own home
Nikhil> dirs. though. So how do I tell NFS to allow root to view
Nikhil> all files on the client machines so I can copy all the
Nikhil> files over to the new HD. I gather this is a perms.
Nikhil> problem.
Export the FS with ``no_root_squash''.
Nikhil> 3) Different problem : I'm setting up printer accounting
Nikhil> on the linux box (using the samba exmaples). I've mostly
Nikhil> got it working, but I've not been able to come up with
Nikhil> much documentation on it. Has anyone got any
Nikhil> experience/pointers on an effective implementation ?
Nikhil> 4) I want to disable the ability to get a root prompt via
Nikhil> 'linux single'. (RH 6.1). HOWTO ?
Put restricted and password=something in lilo.conf. Chmod 600
/etc/lilo.conf.
Nikhil> thats it for now.
Nikhil> nikk
-- Raju