CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 6 - Software Support
  Livecd-creator add files in /home/*specificuser*/

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  Shabutaro
      Shabutaro
Livecd-creator add files in /home/*specificuser*/
#1
Newbie
Joined: 2012/2/8
From
Posts: 3
Hi, i managed to make my own CentOS 6 LiveCD with the livecd-creator but finally encountered a problem i can't solve.

The thing is i want to make a LiveCD where a custom made software is installed in the home dir of 'softwaretest', but i only managed to get the .tgz into the $LIVECD_ROOT. Now is it even possible to add another user (for the software i need a extra user besides $LIVECD_USER) via post script, mkdir /home/softwaretest/csoft and cp the .tgz from the $LIVE_ROOT into it, untar it and run a .sh script in it? I can't find a solution as i only find how to add files into the $LIVECD_ROOT.. please help me and tell me if you need more info, thx

Shabu

//edit: i tried
useradd softwaretest
but it returned
/root/post-install: line 401: useradd: command not found
Posted on: 2012/2/8 10:52
Create PDF from Post Print
Top
  •  Shabutaro
      Shabutaro
Re: Livecd-creator add files in /home/*specificuser*/
#2
Newbie
Joined: 2012/2/8
From
Posts: 3
Ok I did it now... I forgot the /usr/bin before useradd and also i did not know there was something like $INSTALL_ROOT.. i only found things about $LIVECD_ROOT :( Well Problem solved ^^
Posted on: 2012/2/8 13:41
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com