{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

All Linux OS user accounts must belong to a group

All Linux OS user accounts must belong to a group -...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
All Linux OS user accounts must belong to a group. So first, we are going to create a group called  was by  typing the following command into an SSH session to our Linux box:  /usr/sbin/groupadd was To create a user, use the  useradd command to add a new user and automatically add the user to an existing  group (or create a new group and then add the user).  If the group does not exist, create it. The syntax for creating a group is  useradd -g {group-name} username . Please  note that the small  -g option means adding the new user to the initial login group (primary group). The group  name must exist. Type the following command to create a new user called  wasadmin and add  wasadmin to the  was group:  /usr/sbin/useradd wasadmin -g was We can check to see that the user is created by typing the following command: 
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: cat /etc/passwd | cut -d":" -f1 You will find the user wasadmin listed at the end of the screen output, as a result of executing the previous command. You now need to run the following command as root, to assign a password to the user named wasadmin : passwd The command will prompt you to enter a password; enter wasadmin . The user wsadmin now has this set as their password. For the WebSphere Application Server Local OS security registry to work on Linux, a shadow password file must exist. The shadow password file is named shadow and is located in the /etc directory. If the shadow password file does not exist, then an error occurs while trying to complete the local OS global security option. To create the shadow file, run the following Linux command...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern