su problem in nis environment
Posted on 2003-11-23
Recently I had problem in my solaris system, to recover that I had restored the data from the backup (netbackup).
What I did:
I kept this problem system's harddisk in another solaris system. Formated the system, Created partitions as it has earlier. Mounted these partitions on the system with some names (Ex: "remoteroot" and "remotevar"). These are the two slices available in old system.
I had restored the data back onto these system from backup.
I could able to boot the system successfully. But when I try to login as a ordinary user(without root privleges), I got error msg " no shell. Some how I fixed it (The user was having tcsh shell, which was pointed to a different location).
The system is an NIS slave server.
I did try to do an NIS slave server setup on the system by using the command > ypinit -s servername.
I could able to login to the system with the account in nis environment but could not change to root using su.