LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 09-26-2009, 07: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, 08:59 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 7,008
Blog Entries: 2

Rep: Reputation: Disabled
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, 11: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


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
chgrp debacle wtmtech Linux - Newbie 1 09-21-2006 11:22 AM
chown, chgrp Help Icarus1701 Linux - Newbie 1 10-25-2004 07:42 PM
Chgrp Problem LinuxRam Linux - Newbie 7 08-31-2004 12:55 AM
Why can't users chgrp ? Rotwang Linux - General 11 03-22-2004 10:35 PM
problems with chown and chgrp apax Linux - Software 6 11-03-2003 04:44 PM


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

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration