Results 1 to 7 of 7

Thread: when, where and how is the knoppix users set up

  1. #1
    Junior Member
    Join Date
    Jun 2004
    Posts
    7

    when, where and how is the knoppix users set up

    hi,

    i need to add a symlink to the knoppix users home dir for a special application. so i've had a look at the boot process and found that the only script ran at startup is "knoppix-autoconfig". in this script i found a lot of stuff about persistent home dir but nothing of the inital setup of the home dir of the knoppix user if there is no persistent home. did i miss any thing? when i look at /home i found it empty.

    when, where and how is the knoppix users set up ??

    TIA
    frantek

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    /home/knoppix is empty. /etc/X11/Xsession.d/45xsession copies files and directories into /home/knoppix from /etc/skel. I have completely rewritten the entire 45xsession script for my own purposes as the majority of it is for KDE which I do not use. You might add something like this:
    Code:
    cp -R /etc/skel/.rox_choices $HOME
    cp -R /etc/skel/.xfce4/ $HOME
    chown -R knoppix:knoppix $HOME
    The key is using the $HOME variable and changing ownership.

  3. #3
    Junior Member
    Join Date
    Jun 2004
    Location
    Bosnia and Herzegovina
    Posts
    2
    Simpler solution is to find this part in '/etc/X11/Xsession.d/45xsession' script
    Code:
    # Copy profiles if not already present
    rsync -Ha --ignore-existing /etc/skel/{file, dir, file3, ...}
    and add your stuff.

    Every user wiil use this settings (standard policy for '/etc/skel');

    You can set stuff just for 'knoppix' user in the same script (just a few lines bellow the above example)

    In that case you have to copy "your stuff" to '/usr/share/knoppix/profile'; and 'rsync' will do the rest.

  4. #4
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    Quote Originally Posted by adis
    Simpler solution is to find this part in '/etc/X11/Xsession.d/45xsession' script
    Code:
    # Copy profiles if not already present
    rsync -Ha --ignore-existing /etc/skel/{file, dir, file3, ...}
    and add your stuff.

    Every user wiil use this settings (standard policy for '/etc/skel');

    You can set stuff just for 'knoppix' user in the same script (just a few lines bellow the above example)

    In that case you have to copy "your stuff" to '/usr/share/knoppix/profile'; and 'rsync' will do the rest.
    Nice first post. A much better way of doing things I see.

  5. #5
    Member registered user
    Join Date
    Feb 2003
    Location
    Vancouver BC
    Posts
    92
    You may also be interested in symlinking /etc/skel to /home/knoppix

    - Ambrose

  6. #6
    Member registered user
    Join Date
    May 2004
    Location
    Kansas City, MO
    Posts
    62
    "In that case you have to copy "your stuff" to '/usr/share/knoppix/profile'; and 'rsync' will do the rest."

    So if I copy the contents of /etc/skel there, the Knoppix user will look like every other user I create?

  7. #7
    Member registered user
    Join Date
    May 2004
    Location
    Kansas City, MO
    Posts
    62
    Umm, posted too soon. I'm not really that concerned with the Knoppix user, except that in a hard drive install the user created gets his profile from the CD's Knoppix user instead of from /etc/skel. I'd kind of like to make that initial user like other non-privileged users.

Similar Threads

  1. Knoppix for Windows Users
    By knewbex in forum The Lounge
    Replies: 31
    Last Post: 09-10-2004, 03:26 AM
  2. adding users like knoppix
    By soulsurfer in forum Customising & Remastering
    Replies: 0
    Last Post: 04-22-2004, 02:15 PM
  3. OpenOffice non Root or Knoppix Users
    By rec9140 in forum General Support
    Replies: 0
    Last Post: 09-19-2003, 07:21 PM
  4. Aussie Knoppix Users
    By photolnx in forum Customising & Remastering
    Replies: 3
    Last Post: 09-02-2003, 02:49 PM
  5. Direct users to Knoppix Forum
    By Tigren in forum General Support
    Replies: 1
    Last Post: 11-14-2002, 03:28 PM

Posting Permissions

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


HyperX FURY DDR4 64GB (4x16GB) 3200MHz PC4-25600 Desktop RAM Memory DIMM 288PIN picture

HyperX FURY DDR4 64GB (4x16GB) 3200MHz PC4-25600 Desktop RAM Memory DIMM 288PIN

$129.95



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP

$38.99



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



Kingston Fury HP32D4U8D8HC-16X 16GB 2Rx8 XMP4-3200-UB1-11 RAM Desktop Memory picture

Kingston Fury HP32D4U8D8HC-16X 16GB 2Rx8 XMP4-3200-UB1-11 RAM Desktop Memory

$22.00



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



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



Corsair Vengeance LPX 32GB PC4-25600 (DDR4-3200) Memory NEVER USED LOOSE STICKS picture

Corsair Vengeance LPX 32GB PC4-25600 (DDR4-3200) Memory NEVER USED LOOSE STICKS

$40.00



CORSAIR Vengeance RGB Pro 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3600 (PC4 28800) picture

CORSAIR Vengeance RGB Pro 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3600 (PC4 28800)

$79.95



Lot of 50 Samsung/SK Hynix/Kingston (8GB) DDR4 1Rx8 PC4-3200AA Laptop RAM Memory picture

Lot of 50 Samsung/SK Hynix/Kingston (8GB) DDR4 1Rx8 PC4-3200AA Laptop RAM Memory

$599.98



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96