Linux 7.3 & Sun Solaris 8 - common account login

is it possible to have an common login account for both linux and Solaris?

Having problem in logging into linux, unable to load completely.
home directory residue in Solaris 8, export out. No NIS running, only NFS in place.

If you aren't running NIS or some other service, then no, you won't get a common login account. You can use NIS with Linux as stated in linux-nis.org.

can a subnet consist of 2 NIS?

currently, I've already running NIS for teaching.

The linux and Sun are for project environment (running private LAN).

Project LAN need to request application license from Teaching LAN, as such the server serves as the gateway to grep license.

If both LAN are running NIS, will there be a crash?

Even without NIS or anything like it, you can happen to give yourself the same user name and the same uid on both systems. And if you give yourself the same password, you're there!

i've created home dir on Sun server and on the linux i create the same account without created home dir locally on the liunx.

on the Sun server, i've exported the home directory (/etc/dfs/dfstab), start the nfs.server damon.

on the linux, i've amended the /etc/fstab to mount the exportfs from Sun server.

Both Sun and Liunx have the same login, same passwd and same home directory.

but when log in to liunx, during the loading, it stops loading after the desktop icon and later gives us a blank screen.

Is there any steps I missed out? I could see the account created inside /etc/shadow and /etc/passwd.

on the sun server, there's two network card ( 1 to serve the private LAN - 10.x.x.x, and the other to link to my teaching LAN - 172.16.160.x). Is there a confict?

help me, really lost.

Hi,

That happens if you login with root user too ? Can you login using the console ( Use Ctrl+Alt+1 to get a console prompt )? Are there any error messages on the system logs ? What about on the server ? Do you see any attempts to mount the nfs share ? See the system log files, in case of doubt use snoop to see if there are nfs requests from the linux machine...

Good luck !

Hi all, thks for the input.

Finally, I managed to solved the problem.

Below are the steps that I would like to share with you in the problem solving.

1) create the same username, passwd, home directory on both Linux and Sun. export the home directory out (edit /etc/dfs/dfstab, /etc/init.d/nfs.server start, dfshares)

2) if home directory residue on Sun then when creating account on Linux, do not select the the create home directory locally.
(edit /etc/fstab to mount the exported home directory)
** if using cisco switch, some timing issue on the communication, in our case, we need to edit the /etc/init.d/netfs file to extend the communication timing.
we added the following sentences to the netfs file.
sleep 60
mount /software
sleep 60
mount /homedirectory

3) after the user login information is created on the linux, do not log out of root, su to the account and copy all the files inside /etc/skel (consists of 5 hidden files and 2 hidden directory) to the user home directory.

4) NOTE : linux userid, group cannot be smaller than 500 (1-499 is reserved for the system).