Adding users

The package I'm creating requires users to be already created during the make install, which kinda sucks because I have the users being created in the .install file, where they should be.  Is there a correct way to do this?

jason wrote:The package I'm creating requires users to be already created during the make install, which kinda sucks because I have the users being created in the .install file, where they should be.  Is there a correct way to do this?
checkout the MTA packages or lighttpd for a blueprint.
-neri

Similar Messages

  • What is the difference between using the command "dsmgmt" and the "Managed By" tab when adding users to the local administrators Account on a Read-Only Domain Controller?

    When I use the
    "dsmgmt" command to add a user to the local administrators account of a RODC I can actually see the user when I use the "Show Role Administrators" parameter. However, I can't see the members of the
    group added to the "Managed By" tab of the RODC object in AD. Even though, the users added using
    "dsmgmt" and by the "Managed By" tab can all log in locally and have admin rights to the RODC. Are there any differences between these two ways of adding users to the local administrators account? 

    Hi,
    For groups, managedBy is an administrative convenience to designate “group admins”. Whatever principal listed in
    managedBy gets permission to update a group’s membership (the actual security is updated on the group’s AD object to allow this).
    In Win2008 and later managedBy also became the way you delegated local administration on an RODC, allowing branch admins to install patches, manage shares, etc. (http://technet.microsoft.com/en-us/library/cc755310(WS.10).aspx). 
    On the RODC, this is updating the RepairAdmin registry value within RODCRoles.
    So the difference between them should be only the way they do the same thing.
    For more details, please refer to the below article:
    http://blogs.technet.com/b/askds/archive/2011/06/24/friday-mail-sack-wahoo-edition.aspx
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Error while Adding user to  'SunAccessManager' Resource

    Hi,
    I configured SAM Resource adapter in SIM 6.0. When I create a user and assign SAM Resource getting the following Error,
    com.waveset.util.WavesetException: An error occurred adding user 'uid=SIMUser2,ou=People,o=Employee,dc=nl,dc=dap,dc=com' to resource 'SunAccessManager'. com.waveset.util.WavesetException: An error occurred creating user. java.lang.IllegalArgumentException: Invalid parameters
    Pls help me to resolve this issue
    Thanks,
    Deva

    Hi Satish,
    The problem is that you added the table and the objetc that you used to add the table is not freed properly. You need to free the object and then the reference count to that table will be 0 - which will enable you to add the fields
    e.g
    Dim pUTables As SAPbobsCOM.UserTablesMD
    'Do your stuff
    Set pUTables = Nothing
    Dim pUFields As SAPbobsCOM.UserFieldsMD
    'Do your stuff
    Set pUFields = Nothing

  • Adding users programmatically -- almost there

    ... getting close...
    Create this procedure in the PORTAL schema.
    It works if you call it when connected as PORTAL, but not when connected as anyone else.
    It is throwing a user-defined exception frmo inside WWCTX_SSO, so I am guessing that it is looking at the session context and deciding that the SESSION_USER shouldn't be adding users.
    Perhaps a true PL/SQL wiz can pick up the ball and figure out what is going on.
    FYI this is sandbox code at its grittiest, so don't even think of pasting it into your application 8^)
    create or replace procedure ci_add_portal_user
    (uname in varchar2,pwd in varchar2, email in varchar2,lname in varchar2,fname in varchar2,clr_lvl in integer)
    as
    l_guid varchar2(32);
    p_user_id number;
    sess dbms_ldap.session;
    err_code number;
    err_msg varchar2(300);
    INVALID_GRP_NAME_EXCEPTION exception;
    INVALID_SITE_EXCEPTION exception;
    VALUE_ERROR_EXCEPTION exception;
    DUPLICATE_GROUP_EXCEPTION exception;
    GROUP_NOT_FOUND_EXCEPTION exception;
    GROUP_MEMBER_EXCEPTION exception;
    GROUP_NOT_UNIQUE_EXCEPTION exception;
    USER_NOT_FOUND_EXCEPTION exception;
    USER_EXISTS_EXCEPTION exception;
    APP_NOT_FOUND_EXCEPTION exception;
    NO_MANAGER_EXCEPTION exception;
    DUPLICATE_GRANTEE_EXCEPTION exception;
    NO_ACCESSIBLE_OBJECT_EXCEPTION exception;
    ORG_NOT_EXIST_EXCEPTION exception;
    INVALID_PERSON_ID_EXCEPTION exception;
    ACCESS_DENIED_EXCEPTION exception;
    CIRCULAR_REFERENCE_EXCEPTION exception;
    UNEXPECTED_EXCEPTION exception;
    USER_NOT_DELETABLE_EXCEPTION exception;
    INVALID_ARGUMENT_EXCEPTION exception;
    INVALID_AUTH_FUNC_EXCEPTION exception;
    LDAP_CONNECTION_EXCEPTION exception;
    DEPRECATED_API_EXCEPTION exception;
    INVALID_ARGUMENT_EXCEPTION exception;
    BEGIN
    /* Create SSO User */
    begin
    l_guid := portal.wwsec_oid.create_user_entry
    p_base => portal.wwsec_oid.get_user_search_base,
    p_user_name => uname,
    p_password => pwd,
    p_email => email,
    p_first_name => fname,
    p_last_name => lname,
    p_create_state => null,
    p_bind_as_user => false
    exception when others then
    err_code:=SQLCODE;
    err_msg:=SQLERRM;
    dbms_output.put_line(' Exception :'||err_code||' '||err_msg);
    end;
    /* Create Portal User */
    begin
    p_user_id:=portal.wwsec_api.id_sso(p_username=>uname);
    dbms_output.put_line('USER ==>'||p_user_id||' '||portal.wwsec_api.user_name(p_user_id));
    exception when others then
    err_code:=SQLCODE;
    err_msg:=SQLERRM;
    dbms_output.put_line(' Exception :'||err_code||' '||err_msg);
    end;
    begin
    portal.wwsec_api.add_user_to_list(p_user_id,portal.wwsec_api.group_id('CI_USR'),0);
    portal.wwsec_api.set_defaultgroup(portal.wwsec_api.group_id('CI_USR'),uname);
    exception when others then
    err_code:=SQLCODE;
    err_msg:=SQLERRM;
    dbms_output.put_line(' Exception :'||err_code||' '||err_msg);
    end;
    begin
    portal.wwsec_api.add_user_to_list(p_user_id,portal.wwsec_api.group_id('CI_CLR_'||clr_lvl),0);
    exception when others then
    err_code:=SQLCODE;
    err_msg:=SQLERRM;
    dbms_output.put_line(' Exception :'||err_code||' '||err_msg);
    end;
    END ci_add_portal_user;

    Andrew,
    to add a user to a specific group in the FileRealm, try doing the following:
    import java.security.acl.Group;
    import weblogic.security.acl.BasicRealm;
    import weblogic.security.acl.ManageableRealm;
    import weblogic.security.acl.Security;
    // Create a user in WebLogic
    BasicRealm bRealm = Security.getRealm();
    ManageableRealm mRealm = (ManageableRealm)bRealm;
    if (null == mRealm) { throw new SecurityException("Security Realm is null");
    weblogic.security.acl.User oNewUser = mRealm.newUser("username", "password",
    null);
    // -- Put the new user into the selected group
    Enumeration eGroups = mRealm.getGroups();
    Group oGroup = mRealm.getGroup("group name you want to add to");
    if (null != oGroup) {
    oGroup.addMember(oNewUser);
    try { mRealm.save("FileRealm.Properties"); } catch (IOException e) { }
    Andrew Dunn <[email protected]> wrote:
    Thanks, Mike.
    I'm trying to use the Default realm in WLS7.0 (which uses LDAP), so
    I'm looking for the classes specific to the Default realm - I assume
    BEA provides some, but I can't find them in the docs.
    On 2 Dec 2002 10:15:18 -0800, "mike" <[email protected]>
    wrote:
    You will not find implementing classes in general. The thing is thatthey (classes)
    are specific to particular implementation of realm you are using (assumingyou
    use 6.x or below, but that is logically true for 7). So you need tofind what
    are the classes used in your realm and work with those. If you are usingan implementation
    shipped with WLS (eg. FIleRealm or LDAP) you will have to use reflection...
    Andrew Dunn <[email protected]> wrote:
    How can I add users/groups via the Weblogic API? All I can find in
    the documenattion is interfaces, but no implementation classes. How
    can I instantiate the classes?
    Thanks, Andrew

  • Adding users to groups

    Hi,
    can any one share documents/resources pertaining to how to create sap user groups in BOE.
    how to add groups to users.
    how to import sap users.
    etc

    Hi,
    You can find the product documentation here:
    http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000713358&_SCENARIO=01100035870000000202&
    Specifically, go to the "Integration for SAP Solutions" section and take a look at the Installation and Administration guide:
    https://websmp210.sap-ag.de/~sapidb/011000358700000559912010E/xi31_sp3_bip_sap_inst_en.pdf
    As far as adding users and groups to the system, this is down through the CMC.  The Business Objects Enterprise Administrators guide should help you with these tasks: 
    http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_bip_admin_en.pdf
    To add users/groups to the BOE system, you have to go into the CMC/Authentication section and click on the SAP tab.  In here, you configure your SAP system information and add the groups that you wish to import into BOE.  Once you add the groups through here, the user accounts and groups will be mapped in to the Users and Groups section of the CMC.  From here, you can treat them like any other group in the system.
    You add users to the SAP groups the same way you would for BW or any other SAP product.  If a new user is added to an SAP group that is imported into BOE, then that user will be able to logon to the BOE system.
    We also have many notes on these subjects. 
    thanks
    Jonathan

  • SP 2010-After adding user from IIS is not found in central admin

    Hi Experts,
    I am trying to configure my SP 2010 with Form Based Authentication.
    After configuring WebSite, STS and Central Admin I added the user from IIS , But not able to found from central admin in Form Authentication.
    I checked in database the user is added.
    I followed the below blog .
    http://jasear.wordpress.com/2012/03/16/sharepoint-2010-setting-up-form-based-authentication-fba-using-asp-net-sql-membership-provider/
    Can experts help me how to get the added user to central admin.
    Thanks
    AshisK

    I was finally able to get the FBA working. After many failed attempts, I knew there was a configuration issue which was causing the error.
    I provided connection string and provider details at 4 places, instead of the 3 mentioned  in various blogs around ->
    1. Sharepoint Central Admin
    2. Sharepoint Web Services
    3. SecurityTokenServiceApplication
    4. And finally the web application itself.
    The connection string for 2nd and 3rd will remain same however, provider details need to be added.
    After completing this step, I was able to login using Form Based Authentication without an issue.
    AshisK

  • Adding users using XML

    The examples for adding users to iFS work fine, but do I have to create an XML file for every user I want to add? I tried to create an XML file with more than one <SimpleUser> definitions, but iFS reports an "unexpected end of file" error at the position where the second User definition starts.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by jsacks:
    Ralf,
    Using the standard <object_list> tag to parse a list of simpleuser tags should work:
    <HR></BLOCKQUOTE>
    Included inside <objectlist> tags, it works fine. Thank you very much.
    null

  • Suddenly getting 404 error when adding user to group

    Hi,
    I have an OAM 10.1.4.0.1 instance that's been working fine.
    However, today, I noticed that when I tried to add a user to a group, when I am in the selector page and click a user, I then get an HTTP 404 error.
    I've searched all of the log files that I can find, and I can't see any error messages. The only thing that is showing an error in a log is the IIS that I have setup with WebGate for OAM Admin. I get a "404" error with a sc-win32-status or "3".
    I have restarted everything, and that still hasn't helped.
    Does anyone here know what might be causing this, or how to diagnose the problem?
    Thanks,
    Jim

    Hi,
    I'm answering my own question/problem here, but hopefully this info will help someone else.
    I was able to get adding users to groups working again. I found that after I cleared the cache in my browser (IE6), the "add user to groups" started working again, without the HTTP 404 error.
    In hindsight, I guess this kind of makes sense, because if you ever watch the URIs on the selector pages, they all look alike, so I'm guessing the IE would not send a full GET request, but the "content" was no longer valid on the OAM server, thus the 404 error.
    Jim

  • Error when manually adding user to project workspace

    I am currently using Project Server 2010.  I have a requirement for Business Users to have access to the project workspaces in Sharepoint but not be users of the PWA.  Similar to as it is outlined in this Microsoft Documentation (http://technet.microsoft.com/en-us/library/cc197668(v=office.14).aspx) 
    There might be a circumstance where you want to grant people who are not members of the project access to the project workspace site. Anyone assigned to the Web Administrator group can create new users for a project workspace site. In addition to the
    four groups that were mentioned earlier, there are four default SharePoint Server 2010 groups. They are as follows:
    Full Control   Has all personal, site, and list permissions.
    Design   Can edit lists, document libraries, and pages in the Web site.
    Contribute   Can view pages and edit list items and documents.
    Read   Can view pages, list items, and documents.
    I have added the user to the Contributor group but when they try to contribute to the space, ie add documents or an issue/risk, they recieve an error, similar to as is documented in the following article (http://pwmather.wordpress.com/2011/07/11/manually-adding-users-to-project-workspace-project-site-in-projectserver-ps2010-ps2007-epm/) 
    What has been identified in this article makes sense.  I am just wondering why Microsoft documentation states that it can be done.
    Any thoughts?

    Chris,
    The Microsoft article says, users who are not part of the project. It does not say not part of project server. 
    However, as far as I can remember, this scenario could work if the "Synchronization" is turned off between Project Server and Project Sites. I will run a test and confirm, later today.
    Prasanna Adavi,PMP,MCTS,MCITP,MCT TWitter: @prasannaadavi Blog: http://www.prasannaadavi.com

  • Adding Users in OIM using SPML

    Hi,
    In our project we have a requirement where we have to create a user in OID/OIM. The existing code connects to OIMProvisioning using SPML to search, add and modify users. In SPML we couldn’t find any basedn being set while adding user or searching for user.
    a.     It would be helpful if someone who has knowledge on OID/OIM and SPML to let me know how to query or add users in a specific BaseDN using SPML.
    b.     I would like to know if it is possible to update both OID and OIM using SPML.
    Regards
    Philip

    It may help you:
    http://www.youtube.com/watch?v=7C8cI5zc1DM

  • Adding users in FDQM

    Hi All,
    I have around 100 users in the system whom i have provisioned in shared services giving Intermediate-2 access in FDQM. I am aware that to add these users in FDQM i have to do it using Administration menu -> User maintenance .
    However, since doing this task (adding user + giving access to locations) is tedious to do for 100 users manually, is it possible to do the same using some kind file upload / automatically with minimal efforts?

    It may help you:
    http://www.youtube.com/watch?v=7C8cI5zc1DM

  • Adding User to Group Programatically?

    I've used the APIs below to create portal users and apply a
    group number to them when they are inserted into the Portal User
    table. However, when the users log into the portal, they still
    are not attached to any group (i.e. Portal objects that can only
    be viewed by certain group members, cannot be seen by the
    programatically added users unless it is done manually in
    Portal). Does anyone have an idea as to how to get this to work?
    Thank You in advance,
    Justin
    Code to add users:
    PORTAL30_SSO.WWSSO_API_USER_ADMIN.CREATE_USER(v_username,
    v_password, v_admin_email, null, null, false, l_error_return);
    PORTAL30.WWCTX_API_PRIVATE.SET_CONTEXT('PORTAL30','');
    portal30.create_portal_user(v_username);
    portal30.wwsec_api.set_defaultgroup(10, v_username);

    I answered my own question. This seems to be the best procedure
    form programatically adding users and applying them to existing
    groups:
    PORTAL30_SSO.WWSSO_API_USER_ADMIN.CREATE_USER(v_username,
    v_password, v_email, null, null, false, l_error_return);
    PORTAL30.WWCTX_API_PRIVATE.SET_CONTEXT('PORTAL30','');
    portal30.create_portal_user(v_username);
    portal30.wwsec_api.set_defaultgroup(9, v_username);
    portal30.wwsec_api.add_user_to_list(portal30.wwsec_api.id
    (v_username), 9, portal30.wwsec_api.NOT_OWNER);

  • No Start Menu, removed and added User Account then no "Built In" Apps - Build 1049

    So quick history, was having problem with start menu not working under build 1044 for the second user I'd added to the machine (Microsoft account). Rebuilt using "Remove everything and reinstall windows". Seemed to resolve the problem for the newly
    added user and was still working under the original user (also Microsoft Account).  Then along came build 1049 and now the same start menu issue occurred for the original user account.  So, as both were setup as admins, removed the original
    user account, restarted, checked all data removed and added the account again. 
    First attempt added the account as a local account then added the Microsoft account after login, result = start menu working but no "built in" apps (store beta, insider app etc).
    So removed account again and added again, this time using Microsoft account immediately, logged in and exactly the same result.
    Any ideas how to resolve?

    You cannot use the Start Menu logging in as anything that would be in the BUILTIN\administrator group on the computer.  I had the same problem when I added the machine to a domain, thus domain admins is in the BUILTIN\Administrator group.
    The reason being that the Windows 10 Start Menu is an appxpackage, and you can't run appxpackages using the built-in administrator account.  As is the case for example with Windows Store.  It doesn't however give you a warning message, you
    just click on the windows button and nothing happens.
    This is just total madness imv.  It kind of made sense when all the appxpackages where apps, but now they include parts of the OS, the OS is essentially non-functional when you log in using anything in the BUILTIN\ administrator group.
    If you really want to blow your mind, go into PowerShell and run the command: get-appxpackage|remove-appxpackage
    If you run that on Windows 8.1 it will remove all the bloatware apps for the logged on user.  Run it in Windows 10 and it removes various parts of the OS for that user as well, such as the Start Menu!

  • How can I see more than 100 users when adding users to a node?

    When adding new users through the User Management interface, only the
    first 100 entries are listed. How do I increase the number of entries
    so I can see the next hundred (or more) users? Is this done via the server
    configuration parameter maxsearchresult?
    <P>
    The GUI Add User to Node option was meant for infrequent adds in smaller
    environments. In large deployments (more than 100 user adds at a time), you
    should be using the command line script "unidsattach". See the Administrators
    Guide for more details on the command.
    <p>
    The parameter, maxsearchresult, is meant to limit the number of users that can
    be returned on a search request by the calendar client. For example, if you have
    1000's of calendar users and someone tries to search for all of them, this
    parameter will make sure that the user is not left waiting a long time for
    results.

    In Settings > Notification Center, try turning "on" all the six buttons under "Today View".  Also turn "on" the top two buttons under "Access on Lock Screen".  Doing that should show you "Tomorrow" at the bottom of Noticiation Center.

  • Added user field to CJI3 - missing in column set until post

    Hello,
    We added a user field to the CJI3 report using these instructions:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/400fbf3d-4be0-2d10-2d85-bbaf27f72258?QuickLink=index&overridelayout=true&49563922669358
    We added a user defined field in our WBS structure, PRPS-USR001, to the CJI3 report.
    On page 8 it says that once the change is made, the column will become availble.  We haven't found that to be the case.  What I found was that the field does not show up until 1) there is a value in it for a project and 2) there has been a new posting to that particular WBS element.
    So it appears that after we update the master data for the particular WBS on each project, we will not be able to use the data in CJI3 until there is a posting to that WBS element for each relevant project.
    Is there any way to "activate" or "push" SAP such that once the master data is updated in the project it is available in CJI3?  Or do we have to wait until something has been posted to that WBS?  Historically there are postings to the WBS but it doesn't appear in CJI3 until there is a new posting since we updated the field.
    Thanks much,
    Andrea

    Hi Andrea
    cji3 is the actual cost/revenue line item report of ps. In order for the new column to appear you need to satisfy both pre-requisites:
    1.actual line item in your wbs
    2.the user field to have a value.
    If you satisfy just one of the pre-req's i am afraid you will not get it in your cji3 output.
    Hope it helps somehow
    Panagiotis

  • Adding Users from sharepoint into Active Directory Groups

    I have a requirement for Approval Workflow where the Approved User gets added   to AD group directly,i think 2 way sync is possible.plz help

    Out of the box, I really doubt that this is possible BUT it can more than likely be achieved via the Object Model.  A good discussion and some attached code can be seen here.
    https://social.technet.microsoft.com/Forums/office/en-US/a1905a01-e7a7-458b-a7a6-d24cd4e19e09/action?threadDisplayName=add-a-user-in-ad-group-from-sharepoint
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

Maybe you are looking for

  • HP 670 all-in-one / printer offline?

    I've had my 6700 for quite a while and it used to print fine?  Now I can only print system configurations and supply levels. Nothing will print from my print que. Seems to have something to do with a new router, even though the printer says it has a

  • Portable drive no longer recognized

    Hello. I have an HP PD1000a drive that is no longer recognized by my HP 9040n (Windows 7 Ultimate) computer.  This happened overnight.  The drive can be recognized and the driver installed by another computer (HP laptop running W7 Ultimate). When I p

  • Unsmooth playback uploading video from iPhone 4 to Facebook

    I took a four minute video the other day in a vehicle and when I uploaded it to Facebook, it was very choppy visually. Is there a reason why it doesn't play back smoothly? I notice that not only in this particular video, but in videos I took standing

  • Is Shared Variable Engine with LV8 an OPC server ?

    Hello Is the shared variable engine with LV8 an OPC server ? Does any OPC client can acces to Variable Engine OPC server an read shared variable ? Can I build an installer and deploy my application with Variable Engine OPC server on other PC without

  • Find not working without Administrator group

    Operating System : Windows 2000 SP4 Adobe Reader Version : 8.1.2 Has anyone else experienced the following: I installed Adobe Reader using the Administrator account. Users of the machine run with normal user accounts. When users attempt to do a 'Find