PDA

View Full Version : SOLVED Knoppix 5 problem with other user than knoppix



Linuxgamer
08-16-2006, 04:08 PM
Hi

I have remastered Knoppix 5.01 and changed the username knoppix to manux. I have read http://knoppix.net/forum/viewtopic.php?t=16781&highlight=linuxrc&sid=e95cb59d0515c1f067817aca0d467053 and it worked all fine but on boot from the remastered Knoppix the follow errors occurred:


Creating ramdisk on shardes memory ..... chown 'manux.manux': invalid user
>> Read-only CD system........
chown: cannot acces `/home/manux` No such file or directory

In chroot env I have added the user manux why is he invalid?

Knoppix booted anyway and then I get the error that /home/manux not exist, but it does it has root rigths. KDE won't start.

In linuxrc i create /ramdisk/home/manux but it seems that it has root rights and not user which results in invalied user or?

I have find out that /home does not exist on my remastered Knoppix because it breaks at chown 'manux.manux': invalid user. And the user manux.manux exists anyway.

How can i fix the user?

Thx in andvance

Linuxgamer

Linuxgamer
08-17-2006, 08:45 AM
I have the solution

I must edit group, shadow ..... files in minirt.gz

The files that i edit:

minirt.gz
---linuxrc
---links in minirt (ls -ls)
---fstab
---shadow
---group
---passwd

/etc/suoders
/etc/groups
/etc/shadows
/etc/automount.sh
/etc/knoppix-autoconfig
/etc/passwd
/etc/X11/Xsession.d/45xsession
/etc/init.d/xsession
/etc/init.d/knoppix-autoconfig
/etc/init.d/knoppix-halt

Hope that helps

cu

Linuxgamer