ClubEnsayos.com - Ensayos de Calidad, Tareas y Monografias
Buscar

Libro donde viven los lobos.


Enviado por   •  28 de Mayo de 2016  •  Tareas  •  412 Palabras (2 Páginas)  •  95 Visitas

Página 1 de 2

En este ejercicio, vas a agregar usuarios a grupos. Si el grupo que necesitas no existe, vas a tener que crearlo usando el comando groupadd.

In this exercise, you will be adding users to groups. If the group you need does not exist, you will have to make it using the groupadd command. It is very simple and takes only one argument, the name of the group to add.

groupadd nombregrupo

  1. Usar el comando id, para confirmar la operacion. ** Use the id command at appropriate points to confirm your configuration.

[root@loreto~]# id

  1. Usando useradd, agregar 3 usuarios: larry3, curly3,moe3 y agregarlos al grupo secundario comedy. ** Using useradd, you are to add three users, larry3, curly3, and moe3, and add them to the secondary group comedy.

Useradd larry3

Useradd curly3

Useradd moe3

Groupadd comedy

Usermod –G comedy larry3

Usermod –G comedy curly3

Usermod –G comedy moe3

  1. Crear 4 usuarios más: georgeh, paulm, ringos, johnl, y agregarlos a los grupos secundarios music y beatles. ** Create four more users, georgeh, paulm, ringos, and johnl, and add them to both secondary groups music and beatles.

Groupadd music

Groupadd Beatles

Useradd –G music,Beatles  georgeh

Useradd –G music,Beatles  paulm

Useradd –G music,Beatles  ringos

Useradd –G music,Beatles  johnl

  1. Crear un usuario más: weird_al, y agregarlo a los grupos secundarios comedy y music. ** Create one more user, weird_al, and add him to both secondary groups comedy and music.

Useradd –G comedy,music  weird_al

  1. ahora a usar usermod. ** Now you are to make some changes with usermod.
  1. Tienes problemas para acordarte del apellido de Ringo, así que pones su nombre completo en el campo de comentario de su usuario. **You have trouble remembering how to spell Ringo's last name, so put his full name, Ringo Starr, in his comment field.

Usermod   -c  “Ringo Starr” ringos

  1. John fue pillado protestando la guerra, entonces tu administrador te dice que deshabilites su inicio de sesión (login). ** John was caught protesting the war, so your manager says you must disable his login.

Usermod  -L  johnl

  1. Agregar Paul al grupo walrus. Debe mantenerse en los grupos beatles y music. ** Add Paul to the walrus group. He should remain a member of the groups beatles and music.

Groupadd  walrus

Usermod  -G walrus  -a Paulm

  1. Curly nunca supo cómo iniciar sesión, así que hay que borrarle su cuenta y su directorio home, él no se dará cuenta. ** Curly never figured out how to log on, so just delete his account and his home directory; he'll never notice.

Userdel –r curly3

...

Descargar como (para miembros actualizados)  txt (2.6 Kb)   pdf (59.5 Kb)   docx (10.2 Kb)  
Leer 1 página más »
Disponible sólo en Clubensayos.com