Linux 7.3 & Sun Solaris 8 - common account login


 
Thread Tools Search this Thread
Operating Systems Linux Linux 7.3 & Sun Solaris 8 - common account login
# 1  
Old 01-08-2004
Data 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.
# 2  
Old 01-09-2004
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.
# 3  
Old 01-09-2004
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?
# 4  
Old 01-09-2004
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!
# 5  
Old 01-09-2004
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.
# 6  
Old 01-10-2004
Hi,

Quote:
Originally posted by jennifer
but when log in to liunx, during the loading, it stops loading after the desktop icon and later gives us a blank screen.
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 !
# 7  
Old 01-12-2004
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).
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 11 user account login expired

Hi everyone Please i need urgent help... I have installed solaris 11 using live media.. then i installed sunray.. every thing is fine.. but after system reboot i am unable to login on server on GUI it gives account expired error or some time authentication failed... but i can log in through... (11 Replies)
Discussion started by: amk
11 Replies

2. Solaris

T1000 Sun Solaris server root login blocked

Hi, Can someone tell me how to re-activate the root login of T1000 sun solaris server. Thx (1 Reply)
Discussion started by: abdull
1 Replies

3. Red Hat

User account migrate from solaris to linux

Hi, I have to move user account from solaris to Linux environment because I don't want user to create password again in Linux environment, so could somebody confirm me how to do it, I know there are files /etc/groups, /etc/passwd and /etc/shadows need to copy but somebody confirm me what is the... (2 Replies)
Discussion started by: mnaumanca
2 Replies

4. Linux

How to find remote Linux box login account without login in to that box?

Hi, How to find remote Linux box login account without login in to that box? I don't have login account at my remote Linux box. But I need who are all having login account. How do I findout? Thanks, --Muthu. (3 Replies)
Discussion started by: Muthuselvan
3 Replies

5. Shell Programming and Scripting

Script to login to attached SUN Storage through Solaris m/c w/o user intervention

I want to create a shell script to CLI login to attached SUN 6140 storage from Sun Solaris 9 m/c (instead of using CAM ) but that prompts me for password despite the fact that i am adding them in script .. i am using "expect" feature for this .. however as i never used "expect " before .. so... (0 Replies)
Discussion started by: yogesh29sharma
0 Replies

6. Solaris

I am not able to login in gnome session and java session in Sun solaris 9& 10

I am not able to login in gnome session and java session in Sun solaris 9& 10 respectively through xmanager as a nis user, I am able to login in common desktop , but gnome session its not allowing , when I have given login credentials, its coming back to login screen, what shoul I do to allow nis... (0 Replies)
Discussion started by: durgaprasadr13
0 Replies

7. Solaris

password less login from openssh to SSH Secure Shell 3.0.1 Sun solaris 7

Hi, I would like to login from a Sun server running ssh: Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090704f to ssh: SSH Secure Shell 3.0.1 on sparc-sun-solaris2.6 How can I achieve this? Thanks a million in advance (1 Reply)
Discussion started by: newbewie
1 Replies

8. Red Hat

telnet & ftp in linux AS4 with root account

hi, i installed linux as4, i need telnet and ftp with root account. anybody show me how to configure. TIA, Bong (3 Replies)
Discussion started by: bong02
3 Replies

9. UNIX for Dummies Questions & Answers

Setting an account to be a non-login account automatically?

Is there a way to easily change an account to be a non login account (NP in the shadow) file? I know I can just edit the file but that is not what we want to do. We use access control software and want to provide a way to set an account to be non-login using simple commands that can be mapped... (0 Replies)
Discussion started by: LordJezo
0 Replies

10. Solaris

Solaris 9 slow login thru ssh & ftp

When I ssh to my box, an Ultra 5. I get prompted for password immediately. I enter it and have to wait sometimes a full minute for it to prompt for a password. The same thing happens when i try to ftp to the box, it will say connected, but it takes forever to prompt for password, and... (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
Login or Register to Ask a Question