You want users to change their passwords every 2 months. How do you enforce this?

1 Answer

Answer :

Oracle password security is implemented via Oracle "profiles" which are assigned to users. PASSWORD_LIFE_TIME - limits the number of days the same password can be used for authentication First, start by creating security "profile" in Oracle database and then alter the user to belong to the profile group.
1) Creating a profile:
create profile all_users
limit
PASSWORD_LIFE_TIME 60
PASSWORD_GRACE_TIME 10
PASSWORD_REUSE_TIME UNLIMITED
PASSWORD_REUSE_MAX 0
FAILED_LOGIN_ATTEMPTS 3
PASSWORD_LOCK_TIME UNLIMITED;
2) Create user and assign user to the all_users profile
SQL>create user chuck identified by norris profile all_users;
3) To "alter profile" parameter, say; change to three months:
SQL>alter profile all_users set PASSWORD_LIFE_TIME = 90;
48. How do you delete duplicate rows in a table?
There is a few ways to achieve that:
▪ Using subquery to delete duplicate rows:
DELETE FROM table_name WHERE rowid NOT IN (SELECT max(rowid) FROM table_name GROUP BY id);
More ways:
▪ Use RANK to find and remove duplicate table rows
▪ Use self-join to remove duplicate rows
▪ Use analytics to detect and remove duplicate rows
▪ Delete duplicate table rows that contain NULL values

Related questions

Description : How does one enforce strict password control? (for DBA

Last Answer : By default Oracle's security is not extremely good. For example, Oracle will allow users to choose single character passwords and passwords that match their names and userids. Also, passwords don ... be used for authentication . PASSWORD_REUSE_TIME - number of days before a password can be reused

Description : How will you enforce security using stored procedures?

Last Answer : Don't grant user access directly to tables within the application. Instead grant the ability to access the procedures that access the tables. When procedure executed it will execute the privilege of procedures owner. Users cannot access tables except via the procedure.

Description : How can you Enforce Referential Integrity in snapshots ?

Last Answer : Time the references to occur when master tables are not in use. Peform the reference the manually immdiately locking the master tables. We can join tables in snopshots by creating a complex snapshots that will based on the master tables.

Description : How will you enforce security using stored procedures?

Last Answer : Don't grant user access directly to tables within the application. Instead grant the ability to access the procedures that access the tables. When procedure executed it will execute the privilege of procedures owner. Users cannot access tables except via the procedure.

Description : Are passwords in oracle case sensitive?

Last Answer : Only since Oracle 11g.

Description : Which are the default passwords of SYSTEM/SYS?

Last Answer : MANAGER / CHANGE_ON_INSTALL

Description : How does one change an Oracle user's password?(for DBA

Last Answer : Issue the following SQL command: ALTER USER IDENTIFIED BY ; From Oracle8 you can just type "password" from SQL*Plus, or if you need to change another user's password, type "password ... this example: SQL> password Changing password for SCOTT Old password: New password: Retype new password:

Description : Why is it so important that users passwords to web sites remain in DB in encrypted form?

Last Answer : Because users are idiots and use the same password for everything. If a hacker gets access to the db they’ll know the users email and password and they probably use the same in for everything from fluther to paypal.

Description : Can I have two users account in my MacBook with passwords?

Last Answer : You can simply create another user. From the Accounts pane in System Preferences, click the plus sign toward the bottom left.

Description : How does one manage Oracle database users? (for DBA

Last Answer : Oracle user accounts can be locked, unlocked, forced to choose new passwords, etc. For example, all accounts except SYS and SYSTEM will be locked after creating an Oracle9iDB database using the DB ... locked users account ALTER USER scott PASSWORD EXPIRE; -- Force user to choose a new password

Description : How does one manage Oracle database users? (for DBA

Last Answer : Oracle user accounts can be locked, unlocked, forced to choose new passwords, etc. For example, all accounts except SYS and SYSTEM will be locked after creating an Oracle9iDB database using the ... from SYS.V$BH log buffer spaces Increase LOG_BUFFER parameter or move log files to faster disks

Description : Give the stages of instance startup to a usable state where normal users may access it.

Last Answer : STARTUP NOMOUNT - Instance startup STARTUP MOUNT - The database is mounted STARTUP OPEN - The database is opened

Description : which system variables can be set by users?

Last Answer : SYSTEM.MESSAGE_LEVEL SYSTEM.DATE_THRESHOLD SYSTEM.EFFECTIVE_DATE SYSTEM.SUPPRESS_WORKING

Description : Who created all these users in my database?/ Can I drop this user? (for DBA

Last Answer : Oracle creates a number of default database users or schemas when a new database is created. Below are a few of them: SYS/CHANGE_ON_INSTALL or INTERNAL Oracle Data Dictionary/ Catalog Created ... there should be no problem altering these users to use a different default and temporary tablespace.

Description : How does one create and drop database users?

Last Answer : Look at these examples: CREATE USER scott IDENTIFIED BY tiger -- Assign password DEFAULT TABLESACE tools -- Assign space for table and index segments TEMPORARY TABLESPACE temp; -- Assign sort space ... give the user some space quota on its tablespaces: ALTER USER scott QUOTA UNLIMITED ON tools;

Description : How does one add users to a password file? (for DBA

Last Answer : One can select from the SYS.V_$PWFILE_USERS view to see which users are listed in the password file. New users can be added to the password file by granting them SYSDBA or SYSOPER privileges, or by using the orapwd utility. GRANT SYSDBA TO scott;

Description : Can you assign Priority to users?

Last Answer : YES. This is achievable with Oracle Resource Manager. DBMS_RESOURCE_MANAGER is the packcage to administer the Database Resource Manager. The DBMS_RESOURCE_MANAGER package maintains plans, consumer groups, and ... also provides semantics so that you may group together changes to the plan schema.

Description : How can you view all the current users connected in your database in this moment?

Last Answer : SELECT COUNT(*),USERNAME FROM V$SESSION GROUP BY USERNAME;

Description : How can you view all the users account in the database?

Last Answer : SELECT USERNAME FROM DBA_USERS

Description : In which view can you find information about every view and table of oracle dictionary

Last Answer : DICT or DICTIONARY

Description : If I am on my Daughter's cell phone plan and I want to pay the bill as a Christmas present how do I do that if I don't have all the passwords etc.?

Last Answer : If I am on my Daughter's cell phone plan and I want to pay thebill as a Christmas present how do I do that if I don't have allthe passwords etc.?

Description : Which of the following will help you to improve your LAN security? 1) Change your passwords frequently 2) Install a firewall program 3) Use a proxy 4) All of the above

Last Answer : 3) Use a proxy

Description : Which of the following will help you to improve your LAN security? 1 Change your passwords frequently 2 Install a firewall program 3 Use a proxy 4 All of the above

Last Answer : 3 Use a proxy

Description : Should a custodial parent expect a non-custodial parent to enforce their punishment?

Last Answer : If you expect the other parent to enforce your punishments, I think it’s only reasonable that the other parent be involved in deciding upon the punishment, before it’s announced to the child, just as if you were all living together.

Description : Which one of the following statements about self-regulatory programmes is FALSE? A)they are usually less expensive than governmental ones VU Cafeteria B)their guidelines are generally more ... nor the authority to enforce guidelines D)the guidelines are generally stricter than governmental ones

Last Answer : D)the guidelines are generally stricter than governmental ones

Description : Generally the teachers do not take pains on students' postures in the classroom. What will you do for their improvement? Options: A) You will enforce proper posture training in the class-room B ... you take note of them otherwise you forget it D) You will inform the physical instructor

Last Answer : A) You will enforce proper posture training in the class-room 

Description : Can a TV “cable” company enforce a cancellation fee if you never signed any contract?

Last Answer : Did you sign for the cable box at the cable store or when the tech installed the box??

Description : How strictly does Frontier enforce its baggage policy?

Last Answer : Why not just put the small purse inside the backpack until you’re through the line?

Description : If you work with a transgendered programmer on programs meant for kids do you enforce normative gender roles?

Last Answer : answer:I know two transgender kids (both around 10 years old). Allowing for other is the right thing to do. We have moved beyond the male/female thing. It's also doesn't affect anyone's use ... If the vast majority are going to choose male or female, what does it matter that there is this option.

Description : If push came to shove, would US Military enforce tyrannical rule of the State, or would they defend American Citizens against tyranny... Egyptian style?

Last Answer : The US Military are not sworn to obey all orders, lawful or otherwise. They are sworn to obey lawful orders and to uphold and defend the constitution. If some president were ever to set ... commits and deploy regular military forces in the streets, I believe they too would defend constitutional law.

Description : Do you enforce the belief in Santa Claus to your kids?

Last Answer : When my stepsons stopped believing in Santa, I just went with the flow. If, someday, I happen to have children of my own.. I don’t intend to ever tell them about Santa in the first place.

Description : What chores will your kids not do? How important is it to enforce "chore rules" with them and teach them to clean and tidy up?

Last Answer : I was not very good about enforcing chore duties when my girls were growing up. I think it was probably partly because as a child I had housecleaning, cooking, and sibling care duties that were over the top.

Description : Can the United States government enforce any laws on Native American reservations?

Last Answer : answer:I found this on Wikipedia and it might help as an Land Tenure and Federal Indian Law With the establishment of reservations, tribal territories diminished to a fraction of original ... authority over other forms of economic development such as ranching, agriculture, tourism, and casinos.

Description : If you could enforce a rule of etiquette, what would it be?

Last Answer : It would be to say may instead of can. And to not smoke when someone else on the table. I don’t, but people do. And I believe its rude.

Description : As a kid, did your parents enforce gender stereotypes on you (to what degree)?

Last Answer : I catch myself saying big boys don't cry to my son, but I don't mean it as a gender stereotype..I'm pretty sure if I had a girl I'd say it to her with girls of course I do refrain ... for, and we encourage that as well. We will always be open minded, and hopefully that will rub off on our son.

Description : How do you enforce participation in a student group?

Last Answer : Well, if its a volunteer group, you can’t. Why did these kids join in the first place? If it’s because their parents made them, there’s your problem.

Description : What boundary/boundaries do you set and enforce in all of your relationships?

Last Answer : The need for time to myself. I think it is extremely important to have some time apart from a significant other every now and then. Allowing you to focus on and be fully present with your friends, family and hobbies.

Description : How does the Security Council enforce its recommendations? -SST 10th

Last Answer : The Security Council enforces its decisions through the following means: (i) Imposition of sanctions through Member-States of the UN against the aggressor. (ii) The Unanimity Rule' popularly ... majority decision. (iv) Force the parties to come to negotiating table through various other means.

Last Answer : According to section 12 of the Specific Remedies Act.

Description : The man tries to enforce the sergeant in favour of the criminal.

Last Answer : The man tries to enforce the sergeant in favour of the criminal.

Description : How did the new mining towns enforce law as and keep the peace?

Last Answer : In some cases, they formed a "Committee of Vigilance" to watchwhat was going on, and to act to enforce laws. The members werecalled "vigilantes".

Description : What is the right to make and enforce laws is characteristic of which political unit?

Last Answer : What is the answer ?

Description : Why were the Prohibition laws difficult to enforce?

Last Answer : Prohibition laws were difficult to enforce because the Americanpublic was quite used to the consumption of Alcoholic Beverages.With that in mind, prohibition attempted to change a long livedtrait in ... tobribe politicians and law officers to look the other way when itcame to enforcing prohibition.

Description : Are States by law required to assist in or to enforce Federal law?

Last Answer : Yes, all laws that are passed by the federal government are tobe recognized by the state and local governments. This means thatfederal, state, and local government entities are expected torecognize and enforce Federal Laws. Much of this is covered in the14th Amendment to the U.S Constitution.

Description : How did the new mining towns enforce law as and keep the peace?

Last Answer : In some cases, they formed a "Committee of Vigilance" to watchwhat was going on, and to act to enforce laws. The members werecalled "vigilantes".

Description : If if there was no legislative branch and the president had the power to both make laws and enforce laws how would this lead to tyranny?

Last Answer : Without the balance of power you have a king. Trump is trying this out now. Congress has duties to perform, but they are giving their power to Trump instead of doing their jobs as legislators.

Description : Which writ may be issued to enforce a Fundamental Right?

Last Answer : Habeas Corpus

Description : Which writ may be issued to enforce a Fundamental Right?

Last Answer : Habeas Corpus

Description : If a base class has a number of overloaded constructors, and an inheriting class has a number of overloaded constructors; can you enforce a call from an inherited constructor to a specific base constructor?

Last Answer : Yes, just place a colon, and then keyword base (parameter list to invoke the appropriate constructor) in the overloaded constructor definition inside the inherited class.

Description : If a base class has a number of overloaded constructors, and an inheriting class has a number of overloaded constructors; can you enforce a call from an inherited constructor to a specific base constructor?

Last Answer : Yes, just place a colon, and then keyword base (parameter list to invoke the appropriate constructor) in the overloaded constructor definition inside the inherited class.