LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 09-26-2009, 06:30 AM   #1
Berend58
LQ Newbie
 
Registered: Sep 2009
Posts: 12

Rep: Reputation: 0
problem with chgrp


At the end of chapter 6.6 I have to initialize the log files. I ran in the following problem:
Code:
# chgrp -v utmp /var/run/utmp /var/log/lastlog
chgrp: invalid group: `utmp'
Searched the forums, but couldn't find a good answer.

When I type:
Code:
# chmod -v 664 /var/run/utmp /var/log/lastlog
mode of `/var/run/utmp' changed to 0664 (rw-rw-r--)
It appears that the group 'utpm' does exist.

Can I ignore this message: chgrp: invalid group: `utmp', and go on??
 
Old 09-26-2009, 07:59 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

No, you cannot.

You are comparing 2 different things:

/var/run/utmp -> A file called utmp
chgrp -v utmp /var/run/utmp -> A group called utmp

The group utmp should be present in the /etc/group file, which you (should have?) created 2 steps earlier in chap 6.6.

Hope this helps.
 
Old 09-26-2009, 10:20 AM   #3
Berend58
LQ Newbie
 
Registered: Sep 2009
Posts: 12

Original Poster
Rep: Reputation: 0
That did the trick.

Repeated the two steps before and didn't get the missing message which I had before. I'am sure I typed the first time the right command, so I don't know what went wrong here. Anyway, can go on now.
Thanks a lot druuna.
 
  


Reply



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
chgrp debacle wtmtech Linux - Newbie 1 09-21-2006 10:22 AM
chown, chgrp Help Icarus1701 Linux - Newbie 1 10-25-2004 06:42 PM
Chgrp Problem LinuxRam Linux - Newbie 7 08-30-2004 11:55 PM
Why can't users chgrp ? Rotwang Linux - General 11 03-22-2004 09:35 PM
problems with chown and chgrp apax Linux - Software 6 11-03-2003 03:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 08:37 AM.

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