You are not logged in.

#1 2010-01-25 17:23:01

willxtreme
Member
Registered: 2010-01-07
Posts: 150
Website

[SOLVED] rc.local problem

Still working on my live CD
An approach to create a user is with rc.local
http://wiki.archlinux.org/index.php/Arc … ng_useradd

From what I've read we can put in last-minute commands that the system will run at the end of the boot process
I've tried adding to rc.local

mkdir /home/live && chown live:live /home/live
su -c "cp -r /etc/skel/.[a-zA-Z0-9]* /home/live/" live
useradd -u 1000 -g users -G storage,floppy,optical,audio,video,network,games,wheel,disk -d /home/live live
Xorg -configure && cp /root/xorg.conf.new /etc/X11/xorg.conf

but when I check /etc/X11/ xorg.conf file isn't there

and if I login as root and "su - live" it says the user live doesn't exist

EDIT: got to use the OVERLAY approach lol not create rc.local in my-arch/etc tongue

Last edited by willxtreme (2010-01-25 22:10:29)

Offline

Board footer

Powered by FluxBB