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
 
Search this Thread
Old 05-11-2005, 06:46 AM   #1
chakkaradeepcc
Member
 
Registered: Mar 2005
Posts: 44

Rep: Reputation: 15
creating /etc/inputrc file in Chapter 7.7


hi all,

am now into Chapter 7.7 - Creating the /etc/inputrc file, am very confused here,what am i supposed to do...here is the Paragraph,


To create the .inputrc in /etc/skel using the command below, change the command's output to /etc/skel/.inputrc and be sure to check/set permissions afterward. Copy that file to /etc/inputrc and the home directory of any user already existing on the system, including root, that needs a private version of the file. Be certain to use the -p parameter of cp to maintain permissions and be sure to change owner and group appropriately.


what would be the commands for these?...
i would be happy if anyone could help me out.....
thanks in advance........

with regards,
C.C.Chakkaradeep
 
Old 05-12-2005, 11:42 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
if you executed the command thats there to create /etc/inputrc
then as root
cp /etc/inputrc /etc/skel/.inputrc
then give one to already existing users first root
cp /etc/inputrc /root/.inputrc
then to other users
(change <user> to user name)
cp /etc/inputrc /home/<user>/.inputrc
chown <user> /home/<user>/.inputrc

i think modes and permissions will be ok
 
Old 05-13-2005, 07:42 AM   #3
chakkaradeepcc
Member
 
Registered: Mar 2005
Posts: 44

Original Poster
Rep: Reputation: 15
hi,

thanks for the reply foo,i have done the same thing except i changed the permissions to 777,is it ok?..when i asked my project lead,he told me if u r not clear with what permissions to specify,u can go with 777,is it ok?..

with regards,
C.C.Chakkaradeep
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Global Values do not work in /etc/inputrc? Akhran Debian 1 09-14-2005 11:12 AM
ld reports "no input file" at first sanity check (chapter 5.7) garba Linux From Scratch 1 07-23-2005 07:54 PM
inputrc vs profile calutateo Linux From Scratch 4 07-08-2005 09:18 AM
when creating a *.iso file, how to make the file size smaller? minm Linux - Newbie 8 12-26-2004 10:58 PM
Creating a File Melissa22 Linux - Newbie 3 02-18-2004 02:48 PM


All times are GMT -5. The time now is 11:52 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration