Results 1 to 6 of 6

Thread: user root en kn-remaster (using knoppix 7.2!!!)

  1. #1
    Junior Member
    Join Date
    Dec 2011
    Location
    Stiens (FRL) Netherlands
    Posts
    27

    user root en kn-remaster (using knoppix 7.2!!!)

    Hello,

    I'm bulding a custom knoppix CD with the kn-remaster script (I know this has not been released for the 7.2 knoppix CD!!, but besides this it works fine)
    I modified knoppix-startx script and changes the user "knoppix" to user "root" so the CD boots and logs in as user "root"
    Now when I build and run the iso all the icons en background settings are not there, just a clean desktop with no icons or background wallpaper.

    When I look in /opt/knx/remaster/root/Desktop the icons are there!
    Why does't this work?, anyone got any idea?

    Thank you.
    WJP

  2. #2
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Never, never, never boot and use Linux (in this case Knoppix) as root! This is a mortal sin.
    Last edited by Werner P. Schulz; 06-28-2013 at 03:36 PM.

  3. #3
    Junior Member
    Join Date
    Dec 2011
    Location
    Stiens (FRL) Netherlands
    Posts
    27
    Quote Originally Posted by Werner P. Schulz View Post
    Never, never, never boot and use Linux (in this case Knoppix) as root! This is a mortal sin.
    Yes yes, I know.. The CD is not used outside this building, I dont care about security. This is a special project and only for internal use. I need this to run a couple of scripts at boot, or a way to run scripts and create directories without
    "sudo".

    Or is there a way to give the user " knoppix" root privileges. I just dont want to "sudo su".!!?
    Last edited by wjp79; 07-01-2013 at 08:55 AM.

  4. #4
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    I need this to run a couple of scripts at boot, ..
    Why not use knoppix.sh for this (tip 4)? This script will be executed by root and you can create your directories.
    Or is there a way to give the user " knoppix" root privileges. I just dont want to "sudo su".!!?
    You don't need "sudo su". Have a look within '/etc/sudoers' and you can see that "knoppix" can do all without password.

    For example
    Code:
    sudo mkdir -p /test/test1/test2

  5. #5
    Junior Member
    Join Date
    Dec 2011
    Location
    Stiens (FRL) Netherlands
    Posts
    27
    Hello,

    I already use the knoppix.sh script. But besides this script, I have a dozen of other scripts that I use. I just dont want the user to "sudo" every command / script. (I am using the scripts to mount windows harddrives, fetch fsarchiver images, do badblock test etc etc.)
    The weird thing is I remasterd the 7.05 CD with user root and desktop icons without any problems. Now with the 7.2 CD it just doesn't work. I just can't figure out why!,
    All the Desktop icons are in /opt/knx/remaster/root/desktop folder. I also tried to move the home folder to /home/root in the passwd file, but this also doesnt work.
    Somehow when the CD is build, the /root/desktop folder is "reset". When I boot the CD it is just a clean desktop.

    I understand that using "root" is not the "right" way, but this is just how I remasterd the knoppix CD from knoppix live 2.6.23.1 and the users are accustomed to.
    Last edited by wjp79; 07-02-2013 at 08:27 AM. Reason: changed the \ to / :-)

  6. #6
    Junior Member
    Join Date
    Dec 2011
    Location
    Stiens (FRL) Netherlands
    Posts
    27
    OMG I feel so stupid.....
    It works!!!!...

    I Just selected the wrong iso the whole time. using virtualbox..... AAAAAaaaargh... coffeee.....

    Thank you for your time.. Maybe someone can just delete this whole topic and spare me the humilliation.

Posting Permissions

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


ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield picture

ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield

$42.00



***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3 picture

***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3

$29.77



ASUS Prime Z390-A LGA 1151 Intel Z390 SATA USB 3.1 ATX Motherboard NO I/O picture

ASUS Prime Z390-A LGA 1151 Intel Z390 SATA USB 3.1 ATX Motherboard NO I/O

$99.00



Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151 picture

Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151

$31.95



LGA 2011 X79 Motherboard DDR3 RAM M.2 USB 2.0 USB 3.0 SATA 3.0 SATA 2.0 PS/2 picture

LGA 2011 X79 Motherboard DDR3 RAM M.2 USB 2.0 USB 3.0 SATA 3.0 SATA 2.0 PS/2

$44.97



Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD picture

Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD

$89.99



Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk picture

Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk

$47.35



MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard picture

MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard

$67.99



ASUS PRIME Z690-P WIFI D4 ATX Motherboard Intel LGA1700 DDR4 HDMI picture

ASUS PRIME Z690-P WIFI D4 ATX Motherboard Intel LGA1700 DDR4 HDMI

$99.99



GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box picture

GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box

$121.50