Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 09-10-2003, 01:14 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 6

Rep: Reputation: 0
Linux/Solaris, PC-Netlink, UID's and GID's


I have a puzzle that I'm hoping someone has already solved...

Our Solaris environment uses NIS, NFS, and PC-Netlink. Recently we introduced Red Hat Linux into the mix. The linux workstations are fully integrated using NIS and NFS. Because of that they have access to files that are also shared out with PC-Netlink to our PC environment.

What we've noticed is that PC files are having their group permissions randomly changed and also files that shouldn't be accessed by PC users are showing up with DOS group permissions.

As I've examined this I found that Solaris and Linux have significant differences in UID and GID assignments. What is particularly disturbing is the range of GID's between 10 and 20 which are mostly used in Solaris for PC-Netlink. In Linux some of these are used by wheel, news, and uucp among others. There are also some UID assignments that concern me.

What I'm afraid is happening is that a linux user going about his/her normal, legitimate activity is inadvertently effecting files thru PC-Netlink in some way.

My questions are basically these:

1) Does anyone have a recommended approach for integrating Linux into an NIS, NFS, PC-Netlink environment? (I'm sure I can't be the first to have experienced this problem.)

2) If not, can the GID's, in particular, used by PC-Netlink be reassigned to other numbers, either on the Linux or Solaris side? Is changing the UID's or GID's the best approach to this problem?

3) Are there any other similar issues that anyone has ran accross?

Thanks for any assistance,

Old 09-19-2003, 12:38 PM   #2
LQ Newbie
Registered: Aug 2003
Posts: 6

Original Poster
Rep: Reputation: 0

Just in case someone else struggles with this, here's what I found out. It appears that conflict between Linux and Solaris UID's and GID's had nothing to do with this problem. It was a PC-Netlink problem all along.

PC-Netlink was set up to store PC users' permissions. It overwrote the UID and GID's that Solaris had originally. It had always been set up this way, but apparently no PC users were accessing the files until recently, which just happend to coincide with the introduction of our Linux boxes.

I changed the way that PC-Netlink stores the user permissions for PC users accessing files and the behavior seems to have gone away. I set it so that the default is to use Solaris UID and GID's.

Thanks to anyone who at least thought about my problem.

Old 09-19-2003, 12:54 PM   #3
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Thanks for the information. I skimmed over your problem originally but didn't know anything about PC-Netlink unfortunately.

Thanks again for the updates, it might help or be beneficial to someone browsing in the future..


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
Erratic PC Netlink 2.0 (on Solaris 9) - Windows XP printing problem Radu Negut Solaris / OpenSolaris 2 09-25-2006 06:07 AM
is it possible to get interface up/down event notifications thru netlink in linux pccyang Programming 1 11-19-2004 08:21 PM
comments and opinions on linux netlink routing sockets tutorial infamous41md Programming 3 11-20-2003 06:54 PM
UID's???? pk21 Linux - Security 3 08-23-2002 05:47 AM
How to find all a GID's files greenhornet Linux - General 2 04-23-2002 11:52 PM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 11:05 AM.

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