LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-05-2009, 07:24 AM   #1
camphor
Member
 
Registered: Jan 2009
Location: USA
Distribution: Fedora 14 / Slackware 13.1
Posts: 85

Rep: Reputation: 20
Invalid shadow group file entry


I'm secretly a security buff and try to keep things as locked down as possible, so would like to solve this little annoyance I have whenever cron runs. It's executing the typical shadow script daily, but it's grpck -r output lists this error:

Code:
invalid shadow group file entry
delete line ''? No
grpck: no changes
Here is the relevant group file. It was late when I last looked at it, but I can't find any line that could be causing this problem. It's trivial, but it's annoying! Can anyone help me?

Code:
root::0:root
bin::1:root,bin,daemon
daemon::2:root,bin,daemon
sys::3:root,bin
adm::4:root,daemon
tty::5:
disk::6:root,greg
lp::7:daemon,greg,root
mem::8:
kmem::9:
wheel::10:root,greg
ftp::11:
mail::12:
uucp:x:14:
log::19:root
smmsp::25:
http::33:
games::50:greg
network:x:90:
video:x:91:greg
audio::92:greg,mpd
optical::93:greg,hal
floppy:x:94:hal,greg
storage:x:95:greg,hal
scanner:x:96:
power:x:98:greg
users::100:greg
locate:x:21:
dbus:x:81:greg
policykit:x:101:
hal:x:82:greg
camera:x:97:greg
avahi:x:84:
mpd:x:45:
ice:x:102:icecast
nobody:x:99:

Last edited by camphor; 05-05-2009 at 07:26 AM.
 
Old 05-05-2009, 07:56 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

Have you got a trailing blank line maybe?

Dave
 
Old 05-05-2009, 03:17 PM   #3
camphor
Member
 
Registered: Jan 2009
Location: USA
Distribution: Fedora 14 / Slackware 13.1
Posts: 85

Original Poster
Rep: Reputation: 20
Quote:
Originally Posted by ilikejam View Post
Hi.

Have you got a trailing blank line maybe?

Dave
That's what I thought at first, too, but I've opened it up with numerous text editors and there is no extra line at the top or bottom.
 
Old 05-05-2009, 07:09 PM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Ah.

Are there any weird lines in /etc/gshadow ?

Dave
 
Old 05-05-2009, 07:19 PM   #5
camphor
Member
 
Registered: Jan 2009
Location: USA
Distribution: Fedora 14 / Slackware 13.1
Posts: 85

Original Poster
Rep: Reputation: 20
Talking

Quote:
Originally Posted by ilikejam View Post
Ah.

Are there any weird lines in /etc/gshadow ?

Dave
There was an odd line in that one. Consider it solved! Thanks for the help, even if it was something of an inconsequential problem..
 
  


Reply

Tags
group, security, shadow



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
invalid group id redhat linux as 5 - all groups in group file are invalid groups nlong1 Red Hat 1 02-15-2009 03:43 AM
Question abt entry in shadow file aress Linux - General 1 03-14-2007 09:28 AM
userdel: error removing group/shadow entry essdeeay Linux - General 2 04-05-2006 05:58 AM
no shadow entry? netquest1 Linux - General 9 02-22-2004 06:39 PM
[alert] (22) Invalid argument : setgid : unable to set group id to Group 4294967295 Niraj Linux - Networking 1 12-13-2001 06:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration