The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
common network problem under Solaris 10 ? Siffleu SUN Solaris 5 05-09-2008 08:53 AM
Can't login to my account kflanigan Post Here to Contact Site Administrators and Moderators 0 06-21-2007 11:03 PM
Does this forum offer a unix login account brendar UNIX Desktop for Dummies Questions & Answers 2 09-10-2006 09:45 AM
Setting an account to be a non-login account automatically? LordJezo UNIX for Dummies Questions & Answers 0 06-16-2006 06:28 AM
heads up unable tp login using ordinary account eykyn17 HP-UX 0 06-05-2006 06:51 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-08-2004
Registered User
 

Join Date: Aug 2001
Location: Singapore
Posts: 32
Unhappy 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.
__________________
Jennifer Koh
Technical supprt Officer / Sys Admin
Nanyang Polytechnic
180 Ang Mo Kio Ave 8
Singapore 569830
Electronics Design Centre
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 01-09-2004
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
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.
Reply With Quote
  #3 (permalink)  
Old 01-09-2004
Registered User
 

Join Date: Aug 2001
Location: Singapore
Posts: 32
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?
__________________
Jennifer Koh
Technical supprt Officer / Sys Admin
Nanyang Polytechnic
180 Ang Mo Kio Ave 8
Singapore 569830
Electronics Design Centre
Reply With Quote
  #4 (permalink)  
Old 01-09-2004
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,354
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!
Reply With Quote
  #5 (permalink)  
Old 01-09-2004
Registered User
 

Join Date: Aug 2001
Location: Singapore
Posts: 32
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.
__________________
Jennifer Koh
Technical supprt Officer / Sys Admin
Nanyang Polytechnic
180 Ang Mo Kio Ave 8
Singapore 569830
Electronics Design Centre
Reply With Quote
  #6 (permalink)  
Old 01-10-2004
jsilva's Avatar
Registered User
 

Join Date: Apr 2003
Posts: 169
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 !
Reply With Quote
  #7 (permalink)  
Old 01-12-2004
Registered User
 

Join Date: Aug 2001
Location: Singapore
Posts: 32
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).
__________________
Jennifer Koh
Technical supprt Officer / Sys Admin
Nanyang Polytechnic
180 Ang Mo Kio Ave 8
Singapore 569830
Electronics Design Centre
Reply With Quote
Google UNIX.COM
Reply

Tags
linux, solaris

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:18 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0