Results 1 to 3 of 3

Thread: Questions from the new guy

Hybrid View

  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
  •  


Dell R730 w/ 2x E5-2650v3 10c, 192GB (12x16GB) RAM, H730 Mini, 2x 750W PSU picture

Dell R730 w/ 2x E5-2650v3 10c, 192GB (12x16GB) RAM, H730 Mini, 2x 750W PSU

$349.99



Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox

$360.00



Dell EMC NX3230 Server picture

Dell EMC NX3230 Server

$599.99



Dell PowerEdge R610 picture

Dell PowerEdge R610

$80.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$274.00



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 1x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 1x 300GB HDD

$89.99



Dell Poweredge R730xd 2.5in 2x E5-2690 v3 2.6ghz 24-Cores  64gb  H730  2x 750w picture

Dell Poweredge R730xd 2.5in 2x E5-2690 v3 2.6ghz 24-Cores 64gb H730 2x 750w

$189.99



DELL PowerEdge R630 8SFF Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45

$240.00