This is a discussion on Re: How To Lock a NIS Account within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> Hi, vi /etc/nis/shadow in column 2 (separatos is replace the hashed password with "*LK*" distribute the nis-map, ready. look ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Harald wrote: > Hi, > > vi /etc/nis/shadow > in column 2 (separatos is > distribute the nis-map, ready. > > look into /etc/nsswitch.conf at line with passwd, is nis the first parameter > or local ? > > bye, > harry > > > > I always have local first and the nis: Here is my NIS config: passwd: files nis group: files nis hosts: files dns nis ipnodes: files networks: files protocols: files rpc: files ethers: files netmasks: files bootparams: files publickey: files netgroup: files nis automount: files aliases: files nis services: files sendmailvars: files printers: user files auth_attr: files prof_attr: files project: files |
| ||||
| "Harald" <harald.kaspari@it-kaspari.de> wrote in message news:<bhfsqb$b3m$05$1@news.t-online.com>... > Hi, > > vi /etc/nis/shadow > in column 2 (separatos is > distribute the nis-map, ready. > > look into /etc/nsswitch.conf at line with passwd, is nis the first parameter > or local ? > > bye, > harry I think just put a "*" before the hash string is better than replace them by something else. You can "unlock" this account by delete the "*" latter. Pyro |