LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 01-30-2014, 09:30 PM   #1
noblearun
LQ Newbie
 
Registered: Jan 2014
Posts: 3

Rep: Reputation: Disabled
Thumbs up Firefox problem for NIS users in centos 5


we are using centos 5 as NIS Server and clients also centos 5, but for NIS users the firefox is not opening, How to fix the Problem.
 
Old 01-31-2014, 02:33 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,981
Blog Entries: 5

Rep: Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778
Are you also mounting their home directories on the fly (e.g. via NFS)? Are the home directories used on multiple systems. If so the .mozilla directory under users' homes might be incompatible between the systems.
 
Old 01-31-2014, 03:05 PM   #3
John VV
Guru
 
Registered: Aug 2005
Posts: 12,810

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
what version of firefox is on those CentOS 5 clients
the current is FF 26

and the CentOS 5.10 updates repo has the OLD long term support(lts) ff17
and the current LTS ff 24.2.0-1

also without any error massage or error from the log
there is no way any one can help


just stating " it is broken" and "it dose not work"
is of no use

please post the error

Last edited by John VV; 01-31-2014 at 03:06 PM.
 
Old 02-01-2014, 02:44 AM   #4
noblearun
LQ Newbie
 
Registered: Jan 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
what version of firefox is on those CentOS 5 clients
the current is FF 26

and the CentOS 5.10 updates repo has the OLD long term support(lts) ff17
and the current LTS ff 24.2.0-1

also without any error massage or error from the log
there is no way any one can help


just stating " it is broken" and "it dose not work"
is of no use

please post the error
the client machines are using firefox version 24. its working fine for local users, not for NIS users.

---------- Post added 02-01-14 at 02:14 PM ----------

Quote:
Originally Posted by MensaWater View Post
Are you also mounting their home directories on the fly (e.g. via NFS)? Are the home directories used on multiple systems. If so the .mozilla directory under users' homes might be incompatible between the systems.
we are using different users then what is the problem i dont know
 
Old 02-01-2014, 01:05 PM   #5
John VV
Guru
 
Registered: Aug 2005
Posts: 12,810

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
a wild guess
those users can not make and edit the the files in ~/.mozilla/firefox/
and the files in ~/.mozilla/firefox/????????.default/
these have to be editable by the user
 
Old 02-02-2014, 11:24 PM   #6
noblearun
LQ Newbie
 
Registered: Jan 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thank U john
and what i want to do for this( ~/.mozilla/firefox/????????.default/
these have to be editable by the user)...
 
Old 02-03-2014, 09:32 AM   #7
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,981
Blog Entries: 5

Rep: Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778
~/.mozilla is relative to the specific user from that user's session.

That is to say if you had a user named billybob with home directory /home/billybob there SHOULD be a .mozilla subdirectory (/home/billybob/.mozilla). Once billybob logs in if he goes to ~/.mozilla it takes him to /home/billybob/.mozilla.
If you are logged in as some other user (say root) and have permission you can go there by typing ~billybob/.mozilla.

On the other hand if another user named bobbysue exists with home directory /home/bobbysue then when she is logged in as bobbysue then ~/.mozilla would take her to /home/bobbysue/.mozilla. Your other user (say root) would be able to go there by typing ~bobbysue/.mozilla.

The user billybob should be the owner of the directory /home/billybob and most of the files and subdirectories under it (including /home/billybob/.mozilla). The user bobbysue should be the owner of /home/bobbysue and most of the files and subdirectories under that.

My original question was asking if the home directories I've described above are local to the server that is getting these users from NIS or if they're being presented as shares (e.g. NFS mounts) from somewhere else. In an NIS environment it often occurs that such shares also exist to avoid having to create the same home directories on multiple systems. My thought was perhaps the users on the home directories as exported might not be the same as the ones imported so you have a permission issue.

The prior post was coming at permissions issue from a different approach. That is that it might simply be a permission issue in that you've not given users (e.g. billybob & bobbysue) ownership/permissions on their own files.

However remember that billybob & bobbysue are NAMES not numeric User IDs (UIDs) and it is actually the UIDs that are used to determine "users" for most processes. So if it were a share from another system to this one for the home directories and the users billybob and bobbysue had UIDs on the exporting system of say 312 and 149 but in NIS you had UIDs of 725 and 684 for the same users then they wouldn't be able to access the files in their homes. (This would be odd to be sure but I've seen it happen.)

The key to using NIS is to be sure you use it everywhere so the users have the same UID everywhere. If NOT then you need to be sure to manually set same UID on systems that aren't using NIS esecially if files are being shared by users that exist in NIS.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
only limited users should login in NIS (not all nis users) RHEL 5.4 kingston Linux - Newbie 1 08-01-2011 12:16 PM
NIS failed for one user on one NIS client - strange problem resolved catbird Linux - Networking 1 10-05-2009 11:00 AM
NIS: NIS running but users not able to log in with NIS credentials outerspace Linux - Server 3 10-17-2007 08:51 AM
NIS-Problem - search for NIS-Guru or SuSE Profesional krischeu MEPIS 0 06-16-2005 07:21 AM
problem logging in local users - nis,nfs synfield Linux - Networking 3 04-05-2003 09:04 AM


All times are GMT -5. The time now is 03:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration