[SOLVED] AIF : How to create/add a $User (/home) ... ???

We need the ability to (optionally) create a new User within AIF "procedures"/"Modules"/...:
Is there a method to add/create a new User (with a /home dir, ...) within an AIF install, so that upon completion, and reboot, of a successful AIF, the new user is properly setup. ?
And/or if not, how about adding the User info by hacking in the (passwd, shadow, gshadow) files. ?
For example, I tried several times within "worker_scripts, chrooting,... "? and concatenating the respective new User info to passwd, shadow, gshadow, ...,as mentioned in the line above,
BUT, unfortunately, none of these worked. ?
All I got was "Seg faults" when trying to use chroot -> useradd...?
So, let me re-clarify here; ie, the "disk-configurator" during an "aif -p automatic -c ...." requires those "mandatory" disk values be edited in already.
Ok, then, optionally,  how about a "USER-configurator" (with $username_aif, $passwd_aif, $groups_aif, $....) variables that we could also just plug-in within that script, ... ?
...and yes, I have also been trying to search the arch-releng mailing-lists but maybe I'm missing somethin' here...? sry.
-please don't get me wrong, and any suggestions are welcome.
Other than that, AIF is very good. -and, I also would just like to thank the Author and company, at this time, for it.
Regards,
Rick.
Last edited by scjet (2012-03-02 11:56:46)

Hi  @meph, and thx for reply.
I'm beginning to agree with the reasonable sentiment of simplicity, aka Live vs (automated)Netinstall, otherwise, I'm sure AIF would have implemented an "add_user" ability within AIF a long time ago.
As far as seg faults, I read somewhere in the past that I would also have to mount /proc,... and some other's to get a more full functionality, again , I'm not completely sure about this either yet.
Example:
If I try to run a useradd, (witin my automated script), I notice that the "useradd" command (as used by the booted netinstall image is purposely lacking a "-R" switch ? , preventing me from referencing it within /mnt/home/<Username> ...?
Again, I don't get much info after the "Seg fault" even with debug on.  It craps out.
I like "Netinstall" simply becuase I get a fully up-to-date, pristine Install.
Bascially, AIF (within the aif -p automatic ...) does everything else that I possibly need, except, adding user(s) with /home(s),....
I guess that is too bad.
Last edited by scjet (2012-03-01 23:57:36)

Similar Messages

  • How to create/Map a User as Adminstrator in BPM Worklist to view all tasks

    Hi all,
    How to create/Map a User as Adminstrator in BPM Worklist to view all the tasks.
    Version :Jdev 11.1.1.1.0
    Regards
    C.Karukkuvel

    go to EM , right click on soa-infra -> security -> Applicaiton roles, then click on BPMWorkflowAdmin role. Add your user to this role.
    This user will be able to view all tasks in Worklist. you have to click on "Administration Tasks" tab.
    Thanks
    --Sreeny
    Edited by: sreeny on Sep 22, 2010 12:54 PM

  • How can i add addtional user defiend fields in infoset

    Hi,
    Can any one tell me how can i add addtional user defiend fields in infoset and make it availible in output screen.
    Also please tell me to create parameters through abap quary sq02 , as by default it creates select-option.
    With Thanks n Regards,
    Ranu

    Hi,
    As I said before it is not that straight forward.If you will decompile tcViewProfileAction .class using any java decompiler you will find out that data in setAccountProfile method is not getting set through formmetadata.xml . If you are well verse with struts then only you can achieve what you are trying to do.You need to extend tcViewProfileAction class and also tcViewProfileForm class and then you need to modify tjspViewProfileTiles.jsp .It will not be easy job.Usually in implementation we do not change action class until its absolutely required as oracle also do not recommend that so now its between you and your client to make a call if they want to go for such customization.I won't recommend you do that.
    Regards
    Nitesh

  • How do I add Another "User" login to my wife's Mac Book Pro?

    How do I add Another "User" login to my wife's Mac Book Pro?

    System Preferences>Accounts. Unclick the lock and add away.

  • How do you add multiple users to an itunes account

    how do you add multiple users to an itunes account

    First :
    Using an iPhone without a wireless service plan
    Then restore the iPod to factory settings/new iPod on the computer your kids will use:
    iTunes: Restoring iOS software
    If you are using the same computer
    How to use multiple iPods, iPads, or iPhones with one computer

  • How do i add another user to my macbook air?

    How do I add another user to my MacBook Air?

    system preferences >users and groups> click + sign in lower left corner and add user.

  • How do I add a user's group calendar in iCal?

    How do I add a user's group calendar in iCal?
    I just keep getting "the account was not found"
    But the account works for its own network calendar.
    None of the following locations work -
    master.mydomain.net:8008/principals/groups/domainusers/calendar
    master.mydomain.net:8008/principals/wikis/domainusers/calendar
    master.mydomain.net:8008/calendars/_uids_/wiki-domainusers/calendar
    and every variation I can think of (I've tried master.local, http:// & webcal:// and a / at the end)
    I can add a users network calendar account to iCal.
    I can subscribe to a group / wiki calendar in iCal.
    I can add an event on the wiki calendar as a user.
    But I want a user to be able to add an event to a group calendar in iCal.
    Any ideas would be appreciated.

    Hi!
    I've got the same weird problem..
    I tried that url and I can open it in Safari and I even can add the calander in iCal on a macbook with 10.5 - but i just can't add it on my macbookpro with snow leopard.
    Did anybody made that work on a snow leopard machine?
    Best regards,
    Fabian

  • How to create a new user account?

    Hi,
    Could you point me to the document/maunal on
    how to create a new user account for OS X 10.4?
    I somehow couldn't find that from Apple web site.
    And I found one here:
    http://www.mcelhearn.com/article.php?story=2004110211244242
    and followed the instruction:
    # echo 'henry::512:512::0:0:Henry James:/Users/henry:/bin/bash' | sudo niload -v passwd /
    but nothing happened. Either this doesn't work with
    V10.4 (which I use), or I missed something.
    Any pointer would be much apprecaited.
    Thanks.
    Macbook Pro   Mac OS X (10.4)  

    Hi Allan and Simon,
    Thanks for your responses.
    Sorry I didn't make my question clear. I meant:
    "How to create a new user account with command line"?
    The GUI (System Preference) would work. But I'd like
    to how to do it from command line (just like on Unix).
    Any inputs would be appreciated.
    Thank you.
    Macbook Pro Mac OS X (10.4)
    Macbook Pro Mac OS X (10.4)

  • How to create a new user over HTTPS

    Hi. I have set up conf.xml and web.xml so that when the user accesses a page in the secure area of the website, then they are taken to a login page where they enter their username and password and the form calls j_security_check on the server. All this happens over SSL as the transport garauntee is CONFIDENTIAL. But how to create a new user over HTTPS? If I have a create new account pages in the secure area of the website, then the only way the user can access these pages is by logging in, but they don't have a login as yet.

    An update. It looks that if the auth-constraint section (which lists the roles that can access this area) is missing, then everyone can access the region and it is over HTTPS. So far, the following seems to be working
       <security-constraint>
          <display-name>View My Account</display-name>
          <web-resource-collection>
             <web-resource-name>My Account Area</web-resource-name>
             <url-pattern>/myaccount/*</url-pattern>
          </web-resource-collection>
          <auth-constraint>
             <role-name>myrole</role-name>
          </auth-constraint>
          <user-data-constraint>
             <transport-guarantee>CONFIDENTIAL</transport-guarantee>
          </user-data-constraint>
       </security-constraint>
       <login-config>
          <auth-method>FORM</auth-method>
          <realm-name>Form-Based Authentication Area</realm-name>
          <form-login-config>
             <form-login-page>/newaccount/login.html</form-login-page>
             <form-error-page>/newaccount/loginerr.html</form-error-page>
          </form-login-config>
       </login-config>
       <security-role>
          <role-name>myrole</role-name>
       </security-role>
       <security-constraint>
          <display-name>Create New Account</display-name>
          <web-resource-collection>
             <web-resource-name>New Account Area</web-resource-name>
             <url-pattern>/newaccount/*</url-pattern>
          </web-resource-collection>
          <user-data-constraint>
             <transport-guarantee>CONFIDENTIAL</transport-guarantee>
          </user-data-constraint>
       </security-constraint>

  • How to create a new User / Contact using APIs

    I am not able to figure out how to create a new User / Contact in WLPS using APIs
    . Is there a factory class ?
    Thanks,
    AJ

    Hi Bala,
    Try using these function modules
    SUSR_BAPI_USER_CREATE
    BAPI_USER_CREATE
    BAPI_USER_CREATE1
    BAPI_USER_INTERNET_CREATE ( This internally calls BAPI_USER_CREATE1)
    Please read the FM documentation for more information.

  • How to create a new user id in OID for Oracle Collab suite File System

    Dear Friends,
    I want to know how to create a new user id in the oracle internet directory where i can use that user for the new subscription of the oracle collabration suite file system..
    Please do the needfull and thanks in advance...
    With warm regards
    R.Prasad

    Hi!
    The way you suggest should not be used.
    A CS user will be created as a normal OID user and will receive the CS attributes in a different subtree later during the provisioning.
    For creating CS users use oesuser and uniuser. Files provisioning will work in a different manner anyway.
    cu
    Andreas

  • How to create/Map a User as Adminstrator in BPM Worklist to view all the ta

    Hi all,
    How to create/Map a User as Adminstrator in BPM Worklist to view all the tasks.
    Version :Jdev 11.1.1.1.0
    Regards
    C.Karukkuvel

    Sounds like a great question for the [url http://forums.oracle.com/forums/forum.jspa?forumID=560]BPM Suite Forum, but then again, I see you've already posted the question there ;)
    Good luck,
    John

  • How do I add a User Tip in this community?

    How do I add a User Tip? I can read them, but I can't figure out how to add one.

    Not sure, but I believe it's level 6 and above.
    That's correct

  • How do i add another user to my creative cloud account?

    How do i add another user to my creative cloud account?

    Anne,
    This is a frequently asked question and I am sure by opening the link given below all of your questions will be answered. For accessing this feature of adding users, you should be the Admin in your Team account.
    http://helpx.adobe.com/creative-cloud/help/manage-creative-cloud-teams-membership.html
    Hope this helps
    Karan Chopra
    [email protected]

  • How to create ADD-ON using AAK tool

    Hi Experts,
    We have ECC (ECC6 EHP4 SP03 ) system in our landscape having AAK tool (AOFTOOLS 400_700 SP00). Presently we have developed a package and need to create  an ADD-ON using AAk Tool. Can you please Guide us how to create ADD-on.
    System Information:
    Kernal version : 720_EXT_REL PATCH 600
    SP LEVEL         : SP03
    Please provide us Pre and Post steps for creating ADD-ON, also provide us any documents and SAP standard NOTES.
    Regards,
    Krishna.M

    Hello Krishana,
    I don't know if you are still looking for the answer if yes then below is the location to get documentation for AAK tool.
    1. Go through SAP Note 921103 , this note has all the info for installation of add-on.
    2. This document is useful to understand the concept although is looks like taken fro standard SAP  documentation video.
    3. SAP provide few SIM file which display steps in a video. i don't know if you got it or not i have them in case you need i can send it to you.
    I hope this is enough information for you to create Add-on.
    let me know if you need more information.
    Mandeep

Maybe you are looking for

  • On Finder Freeze/Relaunch All my desktop files & icons disappear

    The title sums it up. When ever my mac decides to go into spinning wheel mode and I have to force quit/relaunch finder, when I relaunch finder every desktop file & icon disappear. At that point I'm forced to push the shutdown button on the tower and

  • Part of iTunes on External Hard Drive?

    I have searched the discussion forums for an answer to my issue. I have an idea that may work for my issue, but want to ask before doing anything. I can only find one discussion that covers the nature of these questions and no clear answers were give

  • Getting my quicktime pro to work?

    This may seem like a simple question, yet I have been going back and forth trying to get it to work.... I purchased Quicktime PRO this morning to have it read mpeg-4's. I have gone through the instructions off of the Apple website to insert the regis

  • Send a mail after Post Document

    Hi, My proiblem is : I have a Parked document wich it has to be posted  in FBV0 or MIR7 ... after that an Specific user Should receive a mail.. Somebody knows a exit/badi/BTE  for solving my problem? Thanks

  • Photoshop Elements/Premiere 10 Installation

    What is the purpose of Disk 4 & 5 in Photoshop Elements/Premiere 10 package. Loaded just fine from Disk 2.