Results 1 to 2 of 2

Thread: How to Edit .conf files then have them saved.

  1. #1
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    22

    How to Edit .conf files then have them saved.

    i need to change soem things in my .conf files so that i can add a samba user but there is no way to save the changes. Do i just have to open them, edit them, then just leave them open or is there some way to get this taken care of.

  2. #2
    Member registered user
    Join Date
    Nov 2002
    Posts
    85
    I use vi when i edit files on knoppix
    do ctrl+alt+f2 so that you are in a shell as root, or "K" > Knoppix > root shell
    then
    Code:
    vi /path/to/file.conf
    then edit the file by going to the spot you want to edit and hit "i" to begin inserting text (you may need a quick refresher on vi first)
    when you want to save to a read only file do this
    yes you need the colon
    hit escape first then
    Code:
    :wq!
    the ! on the end of write and quit should override the read-only on the file

Similar Threads

  1. can't edit lilo.conf
    By totenengle in forum General Support
    Replies: 2
    Last Post: 07-09-2004, 03:39 AM
  2. how can i edit a "read only" file (/etc/*.conf)
    By t0rp3d0 in forum General Support
    Replies: 1
    Last Post: 07-29-2003, 09:48 PM
  3. you will need to edit the file "/etc/lilo.conf"
    By pat reen in forum General Support
    Replies: 3
    Last Post: 07-02-2003, 02:13 AM
  4. Replies: 2
    Last Post: 03-27-2003, 01:16 AM
  5. How to edit configuration files
    By Lars Jensen in forum General Support
    Replies: 10
    Last Post: 01-07-2003, 08:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$9.64



A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L picture

A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L

$27.98



CRUCIAL DDR3L 8GB 16GB 32GB 1600 MHz PC3-12800 Laptop Memory RAM SODIMM 204-Pin picture

CRUCIAL DDR3L 8GB 16GB 32GB 1600 MHz PC3-12800 Laptop Memory RAM SODIMM 204-Pin

$14.35



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



HMT84GL7AMR4C-RD 32GB DDR3 Server Memory RAM 14900L ECC REG 4Rx4 SK Hynix Cisco picture

HMT84GL7AMR4C-RD 32GB DDR3 Server Memory RAM 14900L ECC REG 4Rx4 SK Hynix Cisco

$13.99



Crucial  DDR3 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3L 16G DDR3L picture

Crucial DDR3 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3L 16G DDR3L

$21.95



A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G picture

A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G

$27.98



Hynix 64GB 4Rx4 PC4-2133P-L LRDIMM DDR4-17000 ECC Load Reduced Server Memory RAM picture

Hynix 64GB 4Rx4 PC4-2133P-L LRDIMM DDR4-17000 ECC Load Reduced Server Memory RAM

$64.99



A-Tech 64GB 4x 16GB 2Rx4 PC4-19200R DDR4 2400MHz ECC REG RDIMM Server Memory RAM picture

A-Tech 64GB 4x 16GB 2Rx4 PC4-19200R DDR4 2400MHz ECC REG RDIMM Server Memory RAM

$87.96