Article 5QW7V Non existent Group/group-id on Linux

Non existent Group/group-id on Linux

by
LinuGeek
from LinuxQuestions.org on (#5QW7V)
Hello Experts,

A normal user tries to login onto Linux (SuSE) System who has his/her account on it. What happens if somehow the primary group which it belongs to, does not exist.
Will the system allow him to get in simply because his account exist or will it deny access?
I have tested this on a test system...I created a local user and changed his group-id to some arbitrary number in /etc/passwd File. The system still allows him to login without any problem and id command shows his primary group as this nonexistent number. So I feel system has no problem what so ever if his group-id has any meaningful association on system. Is it really so?
Does this as well hold true for NIS or LDAP Authentications?
Thanx in advance.

Regards,
Adminlatest?d=yIl2AUoC8zA latest?i=_hi0cigYSsc:_NvmHCqqrvU:F7zBnMy latest?i=_hi0cigYSsc:_NvmHCqqrvU:V_sGLiP latest?d=qj6IDK7rITs latest?i=_hi0cigYSsc:_NvmHCqqrvU:gIN9vFw_hi0cigYSsc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments