Mass password change for selective User id's ?
Hi,
Thanks to answer for my last question, really appreciated your help.
My new question:
1. If I create Mass User Id's by using SU10, pwd's are generated automatically. Is there a way to pick a pwd e.g initpass for all ?
2. Is there any program available which can be used to reset pwd's for several User Id's as initpass or something like that ?
Please help. thnx in advance.
Syd.
You can also create an ABAP program which can be used to mass change users passwords.
Here are the functions that will do what you need
SUSR_GENERATE_PASSWORD - Generates a Password
BAPI_USER_CHANGE - You can use this BAPI to change just the password of a user
Here is an example of some abap code. There may be some syntax errors and possible other issues. I just typed this out and didnt check it. Hope this helps
constants: con_comma TYPE c VALUE ','.
data: it_tab TYPE filetable,
gd_subrc TYPE i,
v_filename_string TYPE string,
p_npass like XU400-NEWCODE.
DATA: BEGIN OF itab OCCURS 0,
dLine(40) type c,
END OF itab.
DATA: begin of it_Users occurs 0,
UserID like BAPIBNAME-BAPIBNAME,
Password Like XUBCODE,
end of it_Users.
parameters: p_file like rlgrap-filename default 'c:\users.txt' LOWER CASE.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
*& FILE_OPEN_DIALOG METHOD *
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
window_title = 'Select File'
default_filename = '*.txt'
multiselection = ' '
CHANGING
file_table = it_tab
rc = gd_subrc.
LOOP AT it_tab INTO p_file.
ENDLOOP.
v_filename_string = p_file.
START-OF-SELECTION.
*& GUI_UPLOAD function *
Upload file to internal table
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = v_filename_string
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
TABLES
DATA_TAB = ITAB
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Loop through internal table and split the comma delimited file
LOOP AT ITAB.
SPLIT ITAB-dLINE AT con_comma INTO it_Users-UserID
it_Users-Password.
APPEND it_Users.
ENDLOOP.
LOOP AT it_Users.
if it_users-Password is initial.
CALL FUNCTION 'SUSR_GENERATE_PASSWORD'
IMPORTING
PASSWORD = p_npass
endif.
CALL FUNCTION 'BAPI_USER_CHANGE'
EXPORTING
USERNAME = it_users-userid
PASSWORD = p_npass
PASSWORDX = 'X'
TABLES
RETURN = it_ret2.
Loop at it_ret2.
if it_ret2-number = 039.
write: / 'password changed'.
else.
write: / it_ret2-message.
endif.
endloop.
Write: / ''.
refresh it_ret2.
ENDLOOP.
Similar Messages
-
Mass price change for inforecord
Hi All,
Can I do a mass price change for inforecords? We are in ECC 6.0....
I have checked transaction MEMASSIN but there is no field for price in this txn.
Regards,
V SYes it is Possible. But, not thru any Mass Transactions.
You need to Perform a BDC for ME12. Go to ME12 and Select Conditions Tab and Select the Gross Price Condition and Click on remove Line and Create New Gross Condition with New Price and Per Unit.
Hope it will Solve ur Query. -
The password changed for the network how do I change it on my appletv
The password changed for the network how do I change it on my appletv
I work in the maintenance facility at a school district and we have 3 flat screens in different areas all with Apple TV, the I.T department changed the way we log in to the wifi, we use a user name and password now. I have a user name and pass word that I can use for all 3 sets but not sure how to set it up. I could go to our I.T. guys but they are not Apple friendly guys.
-
Need to give REVOKE CLOSE option in CO02 only for selective users
Hello,
Need to Restrict Revoke Close Option in Tcode CO02 (Under Functions - Restrict Processing - Revoke Close) through Role/Object Level. Can any one suggest how to control this . Need to give access for CO02 for 5 Users , but only 2 Users can able to do Revoke Close Option , other 3 Users should not able to do this activity.
BR,
MuraliThere is no authorization object as B_USERSTAT_T , but there is a authorization object as B_USERSTAT . I tried to create a Temporary Role and manually assigned this Object . In this object there is no way to control REVOKE Close option .
But there is one way noted in Google to restrict Revoke Close option .
1.Goto BS22
2.Select the system status TEC0 (I0045) & just duble click it,
3.Maintain the Revoke technical completion (BUTA) =Forbidd (not allowed),
But if i set the above Parameter , this will restrict Revoke Option for all the users . I need to control ONLY for selective users . I can set some value in user data for those users , based on that i can write some coding to restrict , but i want to know where to write this code .... I tried in some area , but it never works.
Can any one give some idea to fix this issue.
BR,
Murali -
Howto Refresh SAP BW Query Changes for roles (User menu)
Hi All,
I have apply new changes for combine hierarchy. However I have tested in Query Designer/web and its works ok hence the user cant see the change.
Howto Refresh SAP BW Query Changes for roles (User menu)
Below is the setup we do have (sap bw 3.5)
1. User run query from User menu (They logon to bw backend and run query by click on the icon on thier user menu.
Changes.
1.Apply combine hierarchy (Rows in Query Designer)
2. I have display query on the web and its work as expect
Issue
1. Query not refresh in user menu (Roles) Users run the query through user menu
Regards Jonthank you
-
How to set password expiration for EBS users
how to set password expiration for EBS users .
Regards .Please follow below steps:-
This is available starting in RUP4.
The script to expire all passwords in the fnd_user table is $FND_TOP/patch/115/sql/AFCPEXPIRE.sql.
It can be executed from SQL*Plus or as a Concurrent Program: sqlplus -s APPS/ @AFCPEXPIRE.sql
or Submit concurrent request: CP SQL*Plus Expire FND_USER Passwords
This script sets the fnd_user.password_date to null for all users which causes all user passwords to expire.The user will need to create a new password upon the next login.
Thanks,
JD -
Do I can create a page who is locked just for selected user?
Do I can create a page who is locked just for selected user?
The manner how you put files on the server is unimportant.
It's the Webserver (usually Apache) itself that does the protecting.
So either use the control panel where you host your website, or use the method explained on the page I linked to.
Should look like this (on the left) :
Your visitor will see this :
http://home.wyodor.net/protect/
Use : root/root
Inside it looks like this : -
How-to-tick-automatically-adjust-clock-for-daylight-saving-changes-for-domain-users
hi
please help me
I am using windows 2008 as a domain controller with windows XP & windows 7 as a client.
how-to-tick-automatically-adjust-clock-for-daylight-saving-changes-for-domain-users
Thanks in Advance
my mail: [email protected]Some more information would be nice (how many computers are in the domain?), but I think I have what you're looking for.
What you need to do is change a registry key in the client computers. It's located in the registry at
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
The string name is DynamicDaylightTimeDisabled and the value for this item is
0 (Kind of weird - by entering 0, you're saying "No, I DON'T want to DISable daylight savings time).
Of course, you'll need to deploy this registry information to the clients from the server. There are several ways to do it, but the first one I'd try is to create a registry preference item on the server and deploy it as a GPP.
This link explains how to do this:
http://technet.microsoft.com/en-us/library/cc753092.aspx -
How to monitor user password changes for users in a database.
hi All,
can someone please help me.
I need to audit the user password changes in a database. Ive check the auditing but audit " alter user " doesnt audit the changes in password and ive also checked the select * from sys.user_history$; view but didnt find anything useful. So is there a way to trace who changed the password and when ?
Thanks for the help.You need something along the lines of http://www.morganslibrary.org/reference/ddl_trigger.html
or you need to disallow ALTER USER to everyone and write your own PL/SQL and instrument logging the changes.
Sybrand Bakker
Senior Oracle DBA -
Different Password Policy for Different User Groups in ACS 4.2
Hi All,
Can some one provide a solution for the below requirement?
We do have ACS 4.2 appliance managing firewalls of different clients. The users are common i.e, helpdesk administrators. One of the client came up with setting different password policy for managing their devices i.e, the client wants to have min 15 characters as password length. We do have currently 8 characters as min password length. Can we change the password policy to min 15 characters only for managing the firewalls of this client whereas for all other client firewalls we feel better to have 8 characters as min password length?
It seems that these password policies are global & affects all the users.
This is something like, having two sets of password (for each user) policy depending on the client which he is going to manage.
For my knowledge, i think that this is not possible. But, thought to cross-check with experts!
-Jags.Hi jags,
Yor're correct. Password policy on ACS will affect all internal user. We can't create different password policies for diferent clients/connections/set_of_users
Password validation options apply only to user passwords that are stored in the ACS internal database. They do not apply to passwords in user records in external user databases; nor do they apply to enable or admin passwords for Cisco IOS network devices.
HTH
Regards,
JK -
Setting password expiry for all users in oracle apps R12
hi,
i have OS RHEL 5,Oracle apps: 12.1.1
now i want to set the password expiry for all the users in oracle apps to 60 days..
can some on please guide on how this could be done.
It is urgent,your help is appreciated.
regards,
Milan RathodHi Milan;
Check below thread
How force users to change passwords every 60 days
How force users to change passwords every 60 days
PS:Registered: Sep 24, 2010
Total Posts: 38
Total Questions: 30 (28 unresolved)
Please change your thread status to anwered which you already get answer for your issue
Regard
Helios -
Disabling external sharing in OneDrive for Business for selected users
Hello,
I have a requirement to disable external sharing option in OneDrive for Business for a few user and allow external sharing for a selected users. Is this possible?
What I know is, we can enable or disable external sharing for all the users who use OneDrive for business by configuring Sharing option for My site collection at "xxx-my.sharepoint.com". But I want to know is if it is possible to handle this at
user level by doing changes to "xxx-my.sharepoint.com/personal/user_domain.com" site collection.
Thanks,
LakshmiThanks Vasil for your reply. Yes, as you mentioned, removing edit option or admin access is not the right solution for my requirement. I just want to know why My site collection is tightly coupled with personal site collections. Many users will use OneDrive
to store data and share it with others internally and externally. So, as a security measure there should be some option to enable this only for a specific users. Hoping someone will give me idea to achieve this. -
Override User Restrictions (N Characters) for select users in BOXI R2
We have a requirement to display Crystal Reports passed from BMC Remedy Mid-Tier to BMC Remedy AR Web Report Viewer to BOXI. The AR Web Report Viewer will only pass along 11 characters of the password and the BOXI system is set to require a minimum of 15. Is there a way to override the application set 15 character user restriction for 1 user?
Thank you for your assistance.You can't override this for a single user. N characters is applicable to all Enterprise accounts. However there is a trick to create a user account with a password that is less than 15 characters. You can lower the number of required characters to 11, create the user account and then change the number back to 15. Make sure that for this particular user you uncheck the feature that you need to change the password at first logon. Changing the number back to 15 will have no effect on already existing user accounts that have a password which is less then 15 characters.
Hope this helps...
Martijn van Foeken
Focuzz BI Services
http://www.focuzz.nl
http://nl.linkedin.com/in/martijnvanfoeken
http://twitter.com/mfoeken -
How to disable password change for you logon first time.
hi,
When i change the password of any user or when i create new user and login with the same user it ask to change the password again can sap have provided to disable this feature where in user won't be ask to change password again.
thanks,
- JohnHi,
I'm not quite sure, but you can try with some of these profile parameters.
Initial Password: Limited Validity
<i>login/password_max_new_valid</i> - Validity period for the passwords of newly created users
<i>login/password_max_reset_valid</i> - Validity period for reset passwords
Svetlin -
Personalisation Of language for selected users
Hi,
Is it possible to change the language settings, for some users by using some scipt or manually(by the end user)? By default the language taken up by the portal is the browsers language, but I want to change the language to a few users. I am not sure about Internationalisation concept being used here, is it possible to make changes through it on netweaver active and running portal without disturbing the other users?
I have refferred to the service note <a href="https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=947081">947081</a> but unable to move any further.
Please assist.There is a language field within the portal's user administration dialogue. In my environment this is blank by default but I am able to choose a specific setting on a per-user basis. I authenticate users via LDAP and Windows Integrated Authentication/Kerberos tickets from an Active Directory database but even users defined here can have a portal specific language defined. When I changed my language from English to Japanese, the logoff dialogue box text was written in Japanese characters rather than English.
I wish to avoid administering users directly in the portal and to keep all administration in AD (single point of control). Therefore, I do not want to have to manually change a Japanese user's language setting. If this is picked up from the Windows/Browser language setting then I'm happy. If not, there is a "language" attribute defined in the "Reference Documentation for User Management" section of "Identity Management of the Application Server Java" at http://help.sap.com/saphelp_nwce10/helpdata/en/3a/4a0640d7b28f5ce10000000a155106/frameset.htm
I suspect that it is possible to map an AD attribute to the Java "language" attribute to set this. This would be done in the "dataSourceConfiguration....xml" file and UME configuration processes. The challenge might be to find an appropriate AD attribute to contain the correct value (with the correct syntax) for the NWJava attribute. Of course, it might also be possible to modify the logon code of the portal to select any AD attribute and map it directly but I have absolutely no experience of how to do this.
Maybe you are looking for
-
How to make a layer from the ADF pivot table invisible , show-hide column-row-data
Hello all , I need to create a pivottable with ADF 12c for reporting purposes. I have a table or view with 10 items of type VARCHAR2 , C1,C2,C3,C4,C5,C6,C7,C8,C9,C10 and 10 items of type NUMBER N1,N2,N3,N4,N5,N6,N7,N8,N9,N10 The items of type VARC
-
1 of my HD partition suddenly can't mount and want me to initialize! HELP!!
Hi, If anyone who frequented these kind of problems before please let me know your solutions solving these problems. Thanks very much!! I'm a musician and a frequent mac user,I have a Power Mac G4 dual 800 with 1.25GMhz ram running on Mac Os 9.21 but
-
I have a new laptop and Firefox is not in yet and will not let me log in to old account
my desttop stoped working that I used FireFox on , Am trying to put it on my new laptop but it will not let me in. Don't want to download again and lose all the stuff I had in the old one. So I need your help getting in MY name is Charles Osborne and
-
Issue with Java Embedding Activity
Hi, I wrote some java code inside java embedding activity, and it is compiling perfectly. But, when i am passing input parameter it is failing in enterprise manager. This is my bpel file. <?xml version = "1.0" encoding = "UTF-8" ?> <!-- Oracle JDevel
-
Smart playlists not updating to iPod in iTunes 7
I've just upgraded to the latest iTunes 7 on my home PC - which runs windows XP. After completing the upgrade, and synchronising to my 3G ipod, not all smart playlists have come over. This seems to be any smart playlist that are based on some kind of