Password/special characters policy for creating a new user in Solaris

Hi,
Please anyone can advise me on the following issue ?
I tried to reinforce a new policy in the Solaris box, where when a new user is create, it should include minimum 1 or 2 numeric character, example
useradd testing <<<<<<<<<<<<<< not allowd
useradd testing123 <<<<<<<<<<<<<< Okay
My /etc/defautl/passwd
MINALPHA=4
MINDIFF=7
MINDIGIT=1
MINSPECIAL=1
MINUPPER=2
MINLOWER=2
MAXREPEATS=1
WHITESPACE=YES
NAMECHECK=YES
DICTIONDBDIR=/var/passwd
DICTIONLIST=/usr/share/lib/dict/words
HISTORY=12
MINWEEKS=NONE
MAXWEEKS=4
WARNWEEKS=NONE
PASSLENGTH=8

You might want to write an local account creation script which checks that account names comply with your policy before executing useradd to actually create the account. Tell your staff to use that script to create new accounts instead of using useradd directly. Of course, it could also check other aspects of your local policy as well.

Similar Messages

  • I need a procedure for creating a new user in SAP NW(BPC)

    Hi,
    I am doing Migration project from SAP BPC MS to NW.
    I don't know how to create a new user in NW.
    Could you please provide a document to create or add a new user in NW.
    Thanks and Regards
    Krishna

    Hi Krishna,
    If user authentication method is AD, all AD users can be added into BPC for the required access, The task 'Define Security' covers who can add users, create or modify task and member profiles.
    The guide is a good place to start understanding it.
    If you already have a list of users and would want to mass manage the users into your new system, you could also use the program: ZUJE_MASS_USER_MGMT (to import users, teams, profiles into the target system).
    Note: Users and Teams are not included in the transport. So you need to manage them outside either by using the program that I mentioned above or add them individually using admin client.
    Thanks,
    Sreeni

  • Problem while creating a new user on solaris

    I have a SUN ultra machine. Solaris 2.6 is installed on this machine.
    I have successfully created a new user in this machine using "admintool"
    Problem is I'm getting error messages when I'm trying to update NIS DATABASE.
    I'm doing-
    #cd /var/yp
    #/usr/ccs/bin/make
    and the response is----
    updated passwd
    pushed passwd
    make:Warning:Don't know how to make target /etc/ethers
    Current working directory /var/yp
    make:Warning:Don't know how to make target /etc/netgroup
    Current working directory /var/yp
    make:Warning:Don't know how to make target /etc/bootparams
    Current working directory /var/yp
    updated netid
    pushed netid
    Couldn't find /etc/timezone
    make:Warning:Target all not remade because of errors.
    Current working directory /var/yp

    I had the a similar problem with new users on sloaris 8.
    I wasn't able to add new users and change the shell variable while using admintool.
    Login back into the console would simply not happen.
    All i've been able to find is that changing the users' variable - i.e. .login or .profile to match that of a working existing user (root),
    would skip over the problems.
    Other variables in the skeleton files were helpful. I suggest you take a look at them.

  • How do i create a new user in visual basic

    hello all!
    I'm customizing TS Operator Interface and I'm trying to add a new user with VB code.
    is anyone has any idea how to do this?
    Advanced thanks,Avi.

    Hello Avi,
    Looks like the TSengine doesn't handle the save and update operations when invoking 'NewUser' method, so you have to handle these by your own. The following code (which is the menu callback for creating a new user in an Operator interface) might give you an answer for your question:
    Private Sub NewUser_Click()
    Dim objNewUser As User
    Dim tmpUser As User
    Dim users As PropertyObject
    Dim OkCancel As Boolean
    Dim loginName As String
    Dim usersFilePath As String
    Const USERS_FILE_NAME As String = "\users.ini"
    Const USER_LISTS As String = "UserLists.Users" 'section of file containing user lists
    'Check if the current user has 'EditUsers' privileges
    If Data.TestEngine.CurrentUserHasPrivilege(Priv_EditUsers) Then
    OkCancel = Data.TestEngine.DisplayNewUserDialog("New User", True, objNewUser)
    If OkCancel Then
    'Get user login name
    loginName = objNewUser.loginName
    'Get users file path
    usersFilePath = Data.TestEngine.ConfigDirectory
    usersFilePath = usersFilePath + USERS_FILE_NAME
    'Create new object for all users
    Set users = Data.TestEngine.NewPropertyObject(PropValType_Container, False, "", 0)
    'Read all users from users.ini
    Call users.Read(usersFilePath, USER_LISTS, 0)
    'Check if user name already exist
    If Not Data.TestEngine.UserNameExists(loginName) Then
    'Insert new user into user object
    Call users.SetPropertyObject(loginName, PropOption_InsertIfMissing, objNewUser)
    'Write user object back to users.ini
    Call users.Write(usersFilePath, USER_LISTS, 0)
    End If
    End If
    End If
    End Sub
    After executing the code above you'll have to restart the operator interface in order to see the newly created user in the 'TSEngine.DisplayLoginDialog' (seems to be a bug here).
    Hope this solved your problem and
    feel free for further questions
    Regards,
    Silvius
    Silvius Iancu

  • HT201240 This process does not appear to work for me.  I'm running 10.8.3.  I created a new user for a guest staying with me.  They have gone now and I am attempting to either change the password or delete the user.  It won't allow me to choose the user I

    This process does not appear to work for me.  I'm running 10.8.3.  I created a new user for a guest staying with me.  They have gone now and I am attempting to either change the password or delete the user.  It won't allow me to choose the user I created.  I am logged in as myself and it states that I am an "Admin".  The user I'm attempting to change is listed as a "standard" user and there is a white checkmark inside an orange circular background on the user pic in the list of users. 
    Can someone help me?  I am having a hard time believing that OSx will allow me to create users and allow them use of my computer and it's drives, yet it will not allow me to change the password so I can monitor what they might have been doing while logged on?  What if this were my child?  This guest left under sketchy circumstances, and I'd really like to be able to ensure they were not using my computer to do illegal things or to have illegal communications.
    Any help would be appreciated.  (It's odd that it was so simple to "create" a user and set a password for them.......but it's complicated or a little known process to reverse.
    Thanks.

    Here are two screen shots to show you what I am seeing.  The first screen shot shows it allowing me to select (highlighted in blue) my admin user (which is what I am locced in as).  The second screen shot shows it allowing me to select the "Guest" user (highlighted in blue).  However when I click on the user "Orion" nothing happens.  It will not change to highlight that user.

  • How to create a new user in IDM 8.1 with random generated password?

    Hi, i want create a new user using a modified tabbed user fom that cannot ask for password and confirm password to the administrator but randomly generate a new password (only when the form is opened in user creation) according to password policy and display it on the form.
    I think it is possible because Reset User Password Form does it, but i don't know how put this kind og logic in an other form.
    thanks
    Marco

    If you want to generate a users password randomly then you could take a look at the com.waveset.provision.PasswordGenerator class inside the Identity Mgr REF kit. Here's an example:
    <Rule name='generateRandomPassword'>
           <Comments>generate a random password</Comments>
           <RuleArgument name='accountId' value='Configurator'>
             <Comments>accountId of the user</Comments>
             <String>Configurator</String>
           </RuleArgument>
           <RunAsUser>
             <ObjectRef type='User' id='#ID#Configurator' name='Configurator'/>
           </RunAsUser>
           <block trace='true'>
             <defvar name='session'>
               <or>
                 <ref>context</ref>
                 <ref>display.session</ref>
               </or>
             </defvar>
             <defvar name='wsuser'>
               <invoke name='getObject' class='com.waveset.ui.FormUtil'>
                 <ref>session</ref>
                 <s>User</s>
                 <ref>accountId</ref>
               </invoke>
             </defvar>
              <defvar name='pwgenerator'>
               <new class='com.waveset.provision.PasswordGenerator'>
                 <ref>session</ref>
               </new>
             </defvar>
             <invoke name='generatePassword'>
               <ref>pwgenerator</ref>
               <ref>wsuser</ref>
             </invoke>
           </block>
        </Rule> You'll want to take the password.password field and inside the Default event handler check to see if waveset.id is null, if it is then call the Rule above.
    HTH,
    Paul

  • Create a new user for oracle 10G ASM instance with sysdba system privilege

    Hi,
    In our Golden Gate Project, we require the SYS user credential to connect to the Oracle 10g  ASM instance to read the database transaction logs.But our client is not providing the SYS user credential to  connnect to ASM instance.
    I'm getting the error message "ORA-01109:  database not open",When I tried to create a new user using the  below the steps in oracle 10g ASM instance
    1. Login using "sqlplus / as sysdba"
    2. Create user <username> identified by <password>;
    But in oracle 11g ASM instance, I'm able to create new  user  by connecting the ASM instance with SYSASM role without issues.
    Is there is any workaround to create a new user with sysdba system privilege in oracle 10g ASM instance?.
    Thanks in advance .

    Hi,
    Recreate the password file for the ASM instance as follows:
    Unix:
    orapwd file=<ORACLE_HOME>/dbs/PWD<SID> password=<sys_password>
    Windows:
    orapwd file=<ORACLE_HOME>/database/PWD<SID>.ora password=<sys_password>
    Now sys password is reset, we are ready to use sys for ASM management. I decided to create another user ASMDBA as I tried above.
    SQL> create user ASMDBA identified by test01;
    User created.
    SQL> grant SYSASM, SYSOPER to ASMDBA;
    Grant succeeded.
    SQL> select * from v$pwfile_users;
    USERNAME SYSDBA SYSOPE SYSASM
    SYS TRUE TRUE TRUE
    ASMDBA FALSE TRUE TRUE
    Please see this link : http://orachat.com/how-to-change-asm-sys-password-creating-sysasm-user-11g/
    Thank you

  • Ant task for creating a new weblogic domain in weblogic 10.3

    Hi,
    Can anybody help me in writing an ant task in build.xml for creating a new weblogic domain in weblogic 10.3, like as in <target name="new-domain">
         <echo message=""/>
         <echo message="Attempting to create new domain:"/>
         <delete dir="C:\bea\user_projects\domains" />
         <mkdir dir="C:\bea\user_projects\domains"/>
         <wlserver dir="C:\bea\user_projects\domains" domainname="mydomain"
         host="127.0.0.1" port="7001"
         generateConfig="true" servername="AdminServer" username="weblogic"
         password="weblogic" action="start"/>
         </target>
    Please suggest me adding something to the above in order to create the domain successfully.

    Hi,
    Can anybody help me in writing an ant task in build.xml for creating a new weblogic domain in weblogic 10.3, like as in <target name="new-domain">
         <echo message=""/>
         <echo message="Attempting to create new domain:"/>
         <delete dir="C:\bea\user_projects\domains" />
         <mkdir dir="C:\bea\user_projects\domains"/>
         <wlserver dir="C:\bea\user_projects\domains" domainname="mydomain"
         host="127.0.0.1" port="7001"
         generateConfig="true" servername="AdminServer" username="weblogic"
         password="weblogic" action="start"/>
         </target>
    Please suggest me adding something to the above in order to create the domain successfully.

  • How can i delete my old account, for create a new one?

    i need to delete my old account for create a new one bicouse i arrived to the limiterd creation of ID account apple (5 TIME) with the seme payment card.the proublem is tht i don't now what ID account i have and wat i need to deleted so i need to find it first an the deleted.

    You can access www.appleid.apple.com and open your old account and delete.

  • HOW TO KNOW THE TCODE FOR CREATING A NEW ENTRY IN A PARTICULAR TABLE

    HI,
        CAN YOU PLEASE LET ME KNOW THE PROCEDURE TO GET THE TCODE FOR CREATING A NEW ENTITY IN A TABLE .
       EG: IS THERE ANY PROCEDURE TO KNOW THAT IF I CREATE A NEW ENTITY IN MM01 IT WILL BE STORED IN TABLE MARA.
    THANKING YOU.

    Hi Venkata,
    If you want to know, for a given table, which transaction/program(s) will create a new record,  there is no easy procedure, other than to refer to experts who deal with these programs.
    It is possible to get a list of programs that refer to a table.  SE11, select the table, select the 'where-used' icon, select programs, execute.  You will be presented with a list of programs that read or write to that table.  From that list you would have to determine which one(s) create records, using your ABAP skills.  From those selected programs you would have to find which, if any, had a transaction assigned.
    Many tables are updated by more than one program/transaction.  Many other tables are not updated by ANY interactive transaction.
    If you ever decide to go ahead with this research, make sure you publish it.  You could probably make yourself a bit of money.
    Regards,
    DB49

  • How to create a new user in Netweaver system for ABAP training?

    Hello,
    I had been learning ABAP using a trial version but recently purchased and installed a developer subscription of Netweaver 2004 SR3. Can someone please tell me the best way to create a new user for ABAP development and assign the needed transaction authorizations appropriate for a developer? I was able to create one in SU01 and assign a profile of S_ABAP_ALL but still could not get into SE80 with that logon. And the user had a license expiration of only one month, is there a way to obtain a permenant license for it from SAP?
    Thanks
    -Chris Piret

    Hi Chris,
    You can create a role in t-code pfcg with all required transaction and assign it to your user id or else You can assign profile sap_all to you for all authorization.
    Regarding license you can get it from sap.How to get it is explained in the document in the below link.
    https://websmp108.sap-ag.de/~sapidb/011000358700006339962006E
    For ABAP development you need developer key and that also you will get from sap marketplace
    Regards
    Ashok

  • When I open iTunes, I get a message that "iTunes has stopped working".  I've tried reinstalling itunes, creating a new user file, changing the startup programs, and am having no success in getting iTunes to stay open. Any "fixes" for this problem?

    When I open ITunes, I get a message that "iTunes has stopped working".  I have tried reinstalling iTunes, creating a new user file, changing the startup programs in accordance with articles in iTunes troubleshooting, but am having no success in getting iTunes to stay open.  Any fixes for this problem?

     

  • How to create a new user for RMS?

    I want to create a new user and give its priorities in RMS. But failed.
    Is user management and priority management for user in RMS exist in other system,if so,where I can download it. How to integrate with RMS.
    Thanks in advance!

    What did you try? What is the version you are working on?
    In the installer, in the utility directory there is a sql script sample for user creation.
    Please also read Metalink Note:454486.1, Note:436137.1, Note:580017.1.

  • 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

  • I bought a new iMac.  iWeb and all folders migrated over, no problem, but I cannot bring up my website - it only seems to allow for creating a new site.

    I bought a new iMac.  iWeb and all its folders migrated over, no problem, but I cannot bring up my website - it only seems to allow for creating a new site.

    You need the 'Domain' file in which iWeb keeps its data. This lives by default in (user)/Library/Application Support/iWeb. You need to locate it on the old machine and copy it to the same position in the new machine. Note that it is the Library folder in your Home folder, not the one at root level.
    This folder is hidden on Lion and above; to access it, in the Finder go to the ‘Go’ menu and hold down the Option (Alt) key; the Library folder will appear as a choice. In Mavericks you can make it permanently visible - open your Home Folder the from the Finder's View menu, choose show View Options and check Show User Library.

Maybe you are looking for