-
Hard coded /home/knoppix into skel files
Hi,
When adding a new user on a Knoppix system (most probably because you have installed it onto your hard drive), the string '/home/knoppix' will be incorrectly hard-coded into your configuration files (stuff in your home directory) because it is hard coded into /etc/skel
To do a simple find and replace, issue this command all on one line, while logged in as the new user. (Replace YOUR_USER_NAME with.. you guessed it 
for i in `grep -rlis \/home\/knoppix ~`; do perl -p -i -e
"s/\/home\/knoppix/\/home\/YOUR_USER_NAME/g" "$i"; done
Hope that helps,
- Andrew
<andrew at solutionsfirst.com.au>
-
Senior Member
registered user
Thanks worked like a charm!
rock
-
Senior Member
registered user
great tip
Andrew,
Thanks for the great tip.
-
it didn't work for me...
is this because i removed the user knoppix?
thx
-

Originally Posted by
raymond
it didn't work for me...

is this because i removed the user knoppix?
thx
soory my mistake....it works fine i used a wrong string....
work fine...... thx!
Similar Threads
-
By your_breakfast in forum Customising & Remastering
Replies: 6
Last Post: 12-15-2004, 10:37 PM
-
By WastedFX in forum General Support
Replies: 7
Last Post: 11-19-2004, 04:02 PM
-
By darthczyz in forum Customising & Remastering
Replies: 1
Last Post: 04-20-2004, 08:31 PM
-
By matt_w_lambert in forum Customising & Remastering
Replies: 5
Last Post: 01-29-2004, 11:09 PM
-
By santaklaws in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 08-06-2003, 06:07 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
-
Forum Rules

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch
$19.99

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch
$49.99

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99

TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed
$199.99

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$39.99

TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597
$36.98

Arista DCS-7050SX-64-R 48P 10GbE SFP+ 4P 40GbE QSFP+ RA Switch
$115.00

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts
$69.00

Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks
$224.95

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch
$46.99