Results 1 to 3 of 3

Thread: Questions from the new guy

  1. #1
    Junior Member registered user
    Join Date
    May 2004
    Posts
    14

    Questions from the new guy

    I've just started using Knoppix and I'm dead pleased with it. I currently tun direct from the cd.

    i had problems with getting my Alcatel speedtouch modem running but i think i've worked it out now with the help of the how to's and all the posts in here. I do how ever have a few questions.

    1. I have 3 hard drives and i use one which is 12gig as my persistant home, how can i log in as root and still use the settings saved in my config file.

    2. I was mooching around checking things out and found a screen that would let me change user setting, ID picture and read write permmisions (i cant remeber the exact program) but it required a root password. How do i enter the root password when i have never set one? I have tried root, Knoppix, admin but no joy

    3. to connect to the net i need to edit the /etc/ppp/chap_secrets file but ever time i save the file it says i do not have permmision. Is this because i'm not logged in as root?

    i hope you guys can help me with these questions as i think i would find it alot easier to be on the net and check things out instead of booting in and out of knoppix just to get to here.

    thanks very much Liquidant

  2. #2
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338

    Re: Questions from the new guy

    Quote Originally Posted by Liquidant
    I've just started using Knoppix and I'm dead pleased with it. I currently tun direct from the cd.

    i had problems with getting my Alcatel speedtouch modem running but i think i've worked it out now with the help of the how to's and all the posts in here. I do how ever have a few questions.

    1. I have 3 hard drives and i use one which is 12gig as my persistant home, how can i log in as root and still use the settings saved in my config file.

    2. I was mooching around checking things out and found a screen that would let me change user setting, ID picture and read write permmisions (i cant remeber the exact program) but it required a root password. How do i enter the root password when i have never set one? I have tried root, Knoppix, admin but no joy

    3. to connect to the net i need to edit the /etc/ppp/chap_secrets file but ever time i save the file it says i do not have permmision. Is this because i'm not logged in as root?

    i hope you guys can help me with these questions as i think i would find it alot easier to be on the net and check things out instead of booting in and out of knoppix just to get to here.

    thanks very much Liquidant
    Ok, lets try this, one at a time...

    Code:
    1. I have 3 hard drives and i use one which is 12gig as my persistant home, how can i log in as root and still use the settings saved in my config file.
    When you tell Knoppix to "Save Persistant Home", or "Save Configuration" - it should ask you what device you want the information to be stored on - it will be in a "linux" device naming though... Linux doesn't use drive letters, but rather, device names - /dev/hda1, /dev/hda2, /dev/hdc1, etc... You might want to drop to a console, (the icon on the bottom of the screen that looks like a monitor with a clam shell in front of it) and do a dmesg - scroll through the listings output, and locate near the top, where your hard drives are being setup. Find, and remember the device name for the drive you want to use, and be sure to tell Knoppix, when it saves your Configs or Home, to use that device.

    Code:
    2. I was mooching around checking things out and found a screen that would let me change user setting, ID picture and read write permmisions (i cant remeber the exact program) but it required a root password. How do i enter the root password when i have never set one? I have tried root, Knoppix, admin but no joy  :(
    Two part question here, the program you probably found was Control Center, it pretty much allows changing anything with Knoppix, and yes, some of the functions require a SuperUser, or Root, password to use them. Second question, Knoppix comes shipped without any passwords, and the accounts are "locked-down" for security. You need to either install Knoppix to the hard drive, or change the "non-existant" root password to something. Currently it is nothing, and you can't enter nothing to satisfy the password entry screen.

    Code:
    3. to connect to the net i need to edit the /etc/ppp/chap_secrets file but ever time i save the file it says i do not have permmision. Is this because i'm not logged in as root?
    Lets get into the subject of root, and passwords here...

    As mentioned above, no passwords exist for any of the user accounts, this includes root. You need to set them up, and considering you are running off the CD, unless you save the configs, or a Home, these passwords will be evaporated each time you reboot, and will need to do these things each time you boot, if the settings are not saved...

    Not sure if the file you speak of in Question #3 is part of the save configs, or would be saved with a persistant home, so this file change may not "hold" from one boot to the next, and may require you to re-edit the file each time you boot. (not sure though)

    Passwords:
    Get a console screen (the little icon on the bottom of the screen that looks like a monitor with a clam shell in front of it. At the prompt, type su - this will make you root in that window. Since there is no password, it shouldn't ask you for it. Now, being root, get the password changed by typing passwd - it will ask you for the ROOT password twice, to confirm the change, and then the root password will be set to what you set it to.

    The password you set above can then be used in any of the password querries for the root, or superuser, passwords.

    To get that file saved, from question #3 above: stay in that console mentioned above, and the one you entered the root access in - the one you typed su in - and type kwrite /etc/ppp/chap_secrets - this should bring up the "notepad" (kind of) program in Linux, for editing files, make your changes, and then click the save, it shouldn't ask you for permissions, or the root password, because in the screen you started the editor in, was root.

    To exit the console screens, type exit - if the screen is logged in as a root, through the use of su, you will need to type the exit twice, first logs out the root login, the second would close the screen.

    Hope this helps,
    Ms. Cuddles

  3. #3
    Junior Member registered user
    Join Date
    May 2004
    Posts
    14
    well i'll be.......... when you say it like that it's all clear. nice to know i can still be learning this stuff after so many years on a pc.

    thanks a million i'll let you know how i get on. with answers like that i can't put a foot wrong

Similar Threads

  1. A few questions.
    By SNK88 in forum MS Windows & New to Linux
    Replies: 0
    Last Post: 06-03-2005, 08:24 PM
  2. I have some questions
    By ichi in forum General Support
    Replies: 3
    Last Post: 11-17-2004, 11:58 PM
  3. questions
    By c_programmer in forum General Support
    Replies: 9
    Last Post: 10-15-2004, 03:09 AM
  4. Help me, got some questions.
    By Enigma in forum General Support
    Replies: 6
    Last Post: 10-12-2004, 06:35 PM
  5. Last two questions before i go for it.
    By tycapel7 in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 05-25-2004, 07:42 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
  •  


Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ picture

Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ

$44.99



### MZ-7KE1T0 Samsung 850 Pro Series 1TB 2.5 inch SATA3 SSD ### picture

### MZ-7KE1T0 Samsung 850 Pro Series 1TB 2.5 inch SATA3 SSD ###

$105.00



Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A picture

Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A

$79.99



Western Digital 1TB WD Gold Enterprise Class SATA Internal HDD - WD1005FBYZ picture

Western Digital 1TB WD Gold Enterprise Class SATA Internal HDD - WD1005FBYZ

$84.99



Samsung - 980 PRO 1TB Internal Gaming SSD PCIe Gen 4 x4 NVMe picture

Samsung - 980 PRO 1TB Internal Gaming SSD PCIe Gen 4 x4 NVMe

$109.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$19.99



Crucial MX500 SSD 1TB SATA III 6Gb/s 2.5

Crucial MX500 SSD 1TB SATA III 6Gb/s 2.5" Internal Solid State Drive

$40.00



Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive picture

Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive

$67.99



1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot picture

1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot

$580.99



Apple 1TB Solid State Drive for Apple MacBook Pro picture

Apple 1TB Solid State Drive for Apple MacBook Pro

$80.00