Hello, Fresh install of 4.3, suddenly I can't modify the group file groupadd: unable to open group file grpck: cannot open file /etc/group removed /etc/group.lock /etc/gshadow.lock /etc/.pwd.lock Am I missing something ? Thanks in advance Peter
On 22/08/06, Peter W. Merritt pwmerritt@weirdwater.org wrote:
Hello, Fresh install of 4.3, suddenly I can't modify the group file groupadd: unable to open group file grpck: cannot open file /etc/group removed /etc/group.lock /etc/gshadow.lock /etc/.pwd.lock Am I missing something ? Thanks in advance
What does a simple...
# ls -l /etc/group
... result in? Does the file exists but perhaps have 000 permissions or similar?
Will.
Sorry I forgot that. -rw-r--r-- 1 root root 655 Aug 21 21:51 /etc/group Peter Will McDonald wrote:
On 22/08/06, Peter W. Merritt pwmerritt@weirdwater.org wrote:
Hello, Fresh install of 4.3, suddenly I can't modify the group file groupadd: unable to open group file grpck: cannot open file /etc/group removed /etc/group.lock /etc/gshadow.lock /etc/.pwd.lock Am I missing something ? Thanks in advance
What does a simple...
# ls -l /etc/group
... result in? Does the file exists but perhaps have 000 permissions or similar?
Will. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Peter W. Merritt wrote:
Sorry I forgot that. -rw-r--r-- 1 root root 655 Aug 21 21:51 /etc/group
Do you have SELinux turned on?
What is the output of ls -Z /etc/group?
-rw-r--r-- root root system_u:object_r:etc_t /etc/group
Regards,
Ralph
Ralph Angenendt wrote:
Peter W. Merritt wrote:
Sorry I forgot that. -rw-r--r-- 1 root root 655 Aug 21 21:51 /etc/group
Do you have SELinux turned on?
What is the output of ls -Z /etc/group?
-rw-r--r-- root root system_u:object_r:etc_t /etc/group
Regards,
Ralph
SElinux is disabled. ls -Z /etc/group Sorry, this option can only be used on a SELinux kernel.
Peter
centos-bounces@centos.org <> scribbled on Tuesday, August 22, 2006 10:43 AM:
Ralph Angenendt wrote:
Peter W. Merritt wrote:
Sorry I forgot that. -rw-r--r-- 1 root root 655 Aug 21 21:51 /etc/group
Do you have SELinux turned on?
What is the output of ls -Z /etc/group?
-rw-r--r-- root root system_u:object_r:etc_t /etc/group
Regards,
Ralph
SElinux is disabled. ls -Z /etc/group Sorry, this option can only be used on a SELinux kernel.
Peter
How about chattr -i /etc/group
Mike Kercher wrote:
centos-bounces@centos.org <> scribbled on Tuesday, August 22, 2006 10:43 AM:
Ralph Angenendt wrote:
Peter W. Merritt wrote:
Sorry I forgot that. -rw-r--r-- 1 root root 655 Aug 21 21:51 /etc/group
Do you have SELinux turned on?
What is the output of ls -Z /etc/group?
-rw-r--r-- root root system_u:object_r:etc_t /etc/group
Regards,
Ralph
SElinux is disabled. ls -Z /etc/group Sorry, this option can only be used on a SELinux kernel.
Peter
How about chattr -i /etc/group _______________________________________________
That worked, thanks ! I could have sworn I tried that. Peter