Write a procedure to perform the operation for managing the users / groups.

1 Answer

Answer :

Creating a user with a default setting: A user can be added by running the useradd command at the command prompt.

# useraddabc

# passwdabc

Changing password for user anirban.

New password:

Retype new password:

passwd: all authentication tokens updated successfully.

Specifying a user’s full name when creating a user: A systems administrator can use the –c option with useradd to specify the user’s full name, as shown below:

# useradd -c “Anil Bhai Choudhury” abc

Creating a user with the UID: You can create a user with a custom UID with the –u option, as follows:

# useradd -u 1036 abc

Adding a user to a primary group and supplementary group: A systems administrator can specify a primary group and a supplementary one by specifying the –g and –G option, respectively.

# useradd -g “head” -G “faculty” abc

Locking and unlocking a user: A super user can lock and unlock a user account. To lock an account, one needs to invoke passwd with the -l option.

# passwd -l abc

Locking password for user abc.

passwd: Success

The –u option with passwd unlock an account

# passwd -uabc

Unlocking password for user abc.

passwd: Success

Changing a user name: The –l option with the usermod command changes the login (user) name, as shown below:

# usermod -l “pqr” abc

Removing a user: Combining userdel with the –r option drop a user and the home directory associated with that user, as shown below:

# userdel -r pqr

Linux group

Linux group is a mechanism to organise a collection of users. Like the user

ID, each group is also associated with a unique ID called the GID (group ID).

Creating a group with default settings: To add a new group with default settings, run the groupadd command as a root user, as shown below:

# groupaddmygroup

Changing the group’s name: To change the group’s name, run the groupmod command with the -n option as a super user, as shown below:

# groupmod -n mynewgroupmygroup

Creating a group with a specified GID: To explicitly specify the GID of a group, execute the groupadd command with the –g option, as follow:

# groupadd -g 1200 manager

Deleting a group: Before deleting a primary group, delete the users of that primary group. To delete a group, run the groupdel command with the group name, as shown below:

# groupdelmynewgroup

Related questions

Description : What action can you perform on managing account list?

Last Answer : What is the answer ?

Description : The reasons leading to popularity of client-server systems are: A) More powerful workstations on LANs B) Needed for graphical user interfaces of end users. C) Remove computing load for presentation services from the system managing a shared database resource. D) All

Last Answer : D) All

Description : ...... is a procedure that requires users to enter an identification code and a matchingpassword. 1) Paging 2) Logging on 3) Time-Sharing 4) Multitasking

Last Answer : 2) Logging on

Description : The best learning procedure in teaching children is to have them Options: A) Read about the way an activity can be performed B) Write about the way an activity can be performed C) See an activity as it is being performed D) Perform the activity themselves

Last Answer : D) Perform the activity themselves 

Description : The secondary storage devices can only store data but they cannot perform A) Arithmetic Operation B) Logic operation C) Fetch operations D) Either of the above

Last Answer : Answer : D

Description : A group of bits that tell the computer to perform a specific operation is known as_______ A. Instruction code B. Micro-operation C. Accumulator D. Register

Last Answer : A. Instruction code

Description : The term Software refers to the set of ________or data a computer processor reads in order to perform a task or operation: a) Electronic Program Instructions b) Planned program instructions

Last Answer : a) Electronic Program Instructions

Description : A microporgram is sequencer perform the operation a. read b. write c. execute d. read and write e. read and execute

Last Answer : e. read and execute

Description : Write a program which perform arithmetic operation using pointer.

Last Answer : #include<iostream.h> #include<conio.h> void main() { int num[5]={56,75,22,18,90}; int ptr; int i; cout<< array elements are:: ; for(i=0;i<5;i++) ptr=num; cout<< ... 3; cout<< value of ptr+=3:: <<*ptr; cout<< \n ; getch(); }

Description : End of life care: is it reasonable to perform procedure after procedure on someone who is dying in the hopes of prolonging their life for days or weeks?

Last Answer : answer:This is a difficult question. My mother faced this situation w/ her own mother. She chose to extend my grandmother's life artificially, and it was not pleasant. My grandmother suffered terribly as did ... talk with my next of kin very soon to let them know my wishes about end of life care.

Description : When a CPA is approached to perform an audit for the first time, the CPA should make inquiries of the predecessor auditor. This is a necessary procedure because the predecessor may be able to provide ... 's work should be utilized. d. Whether the company follows the policy of rotating its auditors.

Last Answer : Whether the engagement should be accepted.

Description : 81. The scrub and circulating nurse should perform sponge count during which phases of an abdominal hysterectomy procedure? 1. Before the procedure 2. Before closing the endometrium 3. Before closing the peritoneum 4. At the skin closure 5. When the scrub nurse goes for a lunch break

Last Answer : A. All except 5

Description : What is the procedure to perform string operations in Pascal?

Last Answer : Pascal can't handle the string of characters and it is one of the disadvantages of the language. - String of characters uses lots of data elements and characters and there need to be character displacement ... string = 'hello, world'; - The length of the string should be 100-200 characters.

Description : To be independent, the auditor: a. Must be impartial when dealing with the client. b. Cannot place any reliance on the client's verbal and written assertions. c. Is responsible only to third-party users of the financial statements. d. Cannot perform any consulting servicesfor an audit client.

Last Answer : Must be impartial when dealing with the client

Description : Recently, We analyzed thousands of apps to flesh out key-trend. Which trend did we not see? 1. People spend more time with apps if they own a large screen mobile device 2. Overall time in app ... 4. Users who find your app organically and users who come from and perform the same once In-app

Last Answer : Smartphone users spend more time with apps than tablet users

Description : Recently, we analyzed thousands of apps to flesh out key trends. Which trend did we NOT see? A. People spend more time with apps if they own a large screen mobile device B. Overall time in app ... D. Users who find your app organically and users who come from ads perform the same once in-app

Last Answer : C. Smartphone users spend more time with apps than tablet users

Description : Why do end users perform fiber geometry measurements in the laboratory?

Last Answer : To reduce system attenuation and coupling loss resulting from poor fiber fabrication.

Description : Which one of the following best describes users? a. Providers of both strategic and tactical direction to the project. b. Those intended to receive benefits or operate outputs. c. Facilitators of an appropriate issue resolution procedure. d. Those providing full-time commitment to the project.

Last Answer : b. Those intended to receive benefits or operate outputs.

Description : Which one of the following best describes users?  a. Providers of both strategic and tactical direction to the project.  b. Those intended to receive benefits or operate outputs.  c. ... of an appropriate issue resolution procedure.  d. Those providing full-time commitment to the project.

Last Answer : b. Those intended to receive benefits or operate outputs.

Description : A) NK Chari Explanation: N.K.Chari, the new Managing Director of State Bank of Mysore, assumed office on May

Last Answer : Prior to his new position, he was the Deputy Managing Director of State Bank of India.

Description : A set of guidelines or standards that establish the format in which files can be transmitted from one computer to another is: a) Protocol for Files b) File Transfer Protocol c) Managing File Protocol d) None of These

Last Answer : b) File Transfer Protocol

Description : A(n) ______ is a set of programs designed to manage the resources of a computer, including starting the computer, managing programs, managing memory and coordinating tasks between input and output devices. a) application suite b) compiler c) input/output system d) operating system e) None of these

Last Answer : d) operating system

Description : SNMP stands for a. Simple Network Message Protocol b. Simple New Message Protocol c. Simple Network Management Protocol d. Simple Network Managing Protocol

Last Answer : c. Simple Network Management Protocol

Description : The normal procedure for promotion should be by …………..Qualified men will be entitled to promotion by seniority within their own groups. a) Trade test* b) Interview c) Recommendation d) Random selection

Last Answer : a) Trade test*

Description : How would I perform this operation on a string in PHP?

Last Answer : That isn’t XML, that’s HTML. Can you not grab the data in a format where times are stamps?

Description : Perform the operation using clips of (+2)+(+5)?

Last Answer : 7

Description : If deck machinery is expected to be idle for an extended period of time you should____________. A. have electrical safety gloves available in case of electrical shock before running B. perform ... run at regular intervals to inusre correct operation and to renew the internal coating of lubrication

Last Answer : Answer: D

Description : Which machine can perform addition operation in less than 1 ms: a. Digital machine b. Electronic machine c. Both d. None of these

Last Answer : a. Digital machine

Description : isacommand given to a computer to perform a specified operation on some given data. a. Aninstruction b. Command c. Code d. None of these

Last Answer : a. Aninstruction

Description : Execution of instruction specified by instruction to perform: a. Operation b. Operands c. Both a &b d. None of these

Last Answer : a. Operation

Description : Which are benefit of input/output interrupt: a. It is an external analogy to exceptions b. The processor initiates and perform all I/O operation c. The data is transferred into the memory through interrupt handler d. = Alllof these

Last Answer : d. = Alllof these

Description : Arithmetic instruction are used to perform operation on: a. Numerical data b. Non-numerical data c. Both d. None

Last Answer : a. Numerical data

Description : In which instruction are used to perform Boolean operation on non-numerical data: a. Logical and bit manipulation b. Shift manipulation c. Circular manipulation d. None of these

Last Answer : a. Logical and bit manipulation

Description : The secondary storage devices can only store data but they cannot perform a. Arithmetic Operation b. Logic operation c. Fetch operations d. Either of the above

Last Answer : Either of the above

Description : is a harrow which perform harrow operation by means of set or a number of sets of rotating slat each set being mounted on common shaft. a. Spike tooth harrow c. Triangular harrow b. Acme harrow. d. Disc harrow

Last Answer :  Disc harrow

Description : A computer that is designed to perform a specific operation and usually satisfies the needs of a particular type of problem, is said to be what type of computer?

Last Answer : Special-purpose.

Description : CPU does not perform the operation a. data transfer b. logic operation c. arithmetic operation d. all of above

Last Answer : b. logic operation

Description : The necessary steps carried out to perform the operation of accessing either memory or I/O Device, constitute a ___________________ a) fetch operation b) execute operation c) machine cycle

Last Answer : c) machine cycle

Description : The secondary storage devices can only store data but they cannot perform a. Arithmetic Operation b. Logic operation c. Fetch operations d. Either of the above

Last Answer : d. Either of the above

Description : The secondary storage devices can only store data but they cannot perform a. Arithmetic Operation b. Logic operation c. Fetch operations d. Either of the above

Last Answer : d. Either of the above

Description : Write the name of layers that perform the following functions in OSI : I. Data Encryption II. Error Correction III. File Transfer IV. Data Encoding

Last Answer : 1. Data Encryption-Presentation Layer 2. Error Correction-Data link layer and Transport layer 3. File Transfer-Application layer 4. Data Encoding-Presentation layer

Description : What is the best LDAP structure when you want users being part of multiple groups?

Last Answer : I would ask this question here: http://superuser.com

Description : Name the features offered by LinkedIn for paid business accounts. a. Facilitate posting pictures b. Facilitate to connect directly and send messages to people c. Ability to post in Groups and create a Group d. Ability to block users

Last Answer : b. Facilitate to connect directly and send messages to peopl

Description : "11. What feature does LinkedIn offer for pay accounts? A. Ability to post pictures B. Increased abilities to connect directly and send messages to people C. Ability to post in Groups and create a Group D. Ability to block users

Last Answer : B. Increased abilities to connect directly and send messages to people

Description : Which of the following statement(s) is/are true concerning the management of a patient with hemophilia A undergoing an elective surgical operation? a. Concentrates of factor VIII should be given ... observed e. A new recombinant preparation of factor VIII offers the advantage of being virus-free

Last Answer : Answer: b, c, e Although the half-life of factor VIII is 2.9 days in normal individuals, the half-life of factor VIII concentrates is 9 to l8 hours. Levels of 80% to ... infection in the hemophilia population. A new recombinant preparation of factor VIII offers the advantage of being virus-free

Description : A 55-year-old male undergoes a total abdominal colectomy. Which of the following statement(s) is/are true concerning the hormonal response to the surgical procedure? a. Adrenocorticotropic ... in serum insulin and a fall in glucagon accelerate hepatic glucose production and maintain gluconeogenesis

Last Answer : Answer: a, c One of the earliest consequence of a surgical procedure is the rise in levels of circulating cortisol that occur in response to a sudden outpouring of ACTH ... hepatic glucose production, and, with other hormones (epinephrine and glucocorticoids), gluconeogenesis is maintained

Description : Use the new system as the same time as the old system to compare the results. This is known as … A) Procedure Writing B) Simultaneous processing C) Parallel Operation D) File Conversion

Last Answer : C) Parallel Operation

Description : ................ allows individual row operation to be performed on a given result set or on the generated by a selected by a selected statement. A) Procedure B) Trigger C) Curser D) None of above

Last Answer : C) Curser

Description : Phakolytic glaucoma is best treated by: a. Fistulizing operation b. Cataract extraction c. Cyclo-destructive procedure d. Miotics and Beta blockers 

Last Answer : ANSWER: B