You are on page 1of 7

Generalitat de Catalunya

Departament d’Educació

​ PUEDE SER QUE ALGO NO SEA CORRECTO. Obsequio de fin de curso.


Subject: M2 - Single-User Operating Systems

TU2: Proprietary operating systems

​ P1. Local Users & Groups

Users
1. Check which users have been created.

2. How can we tell if a user is disabled? Are there any users who are disabled?
Generalitat de Catalunya
Departament d’Educació

3. From graphic mode, create the Comptable 1 user with the password cmpt1
and the description “Usuari de comptabilitat”.

4. From text mode, create the Comptable 2 user with the password cmpt2
and the description “Usuari de comptabilitat”

5. Log in with the user Comptable1

a) Try to create the Director user. What message appears and why?

It says to put the password of the administrator user.


Generalitat de Catalunya
Departament d’Educació

6. Can the Administrator know the passwords of the team's users?

Anyone who knows the password can view the passwords or change them.
7. Can two users named Joan Gomis exist in the system with different logins?
Justify the answer.
Yes, because the system only takes the "ID", which would be the login.
If the name and identical doesn't matter, it will be confusing.
8. How can you make a user log in automatically?.
Removing the password and putting it as the main account, so it starts
automatically.
Generalitat de Catalunya
Departament d’Educació

Groups
Suppose we have installed and configured a computer with W7 by the
Accounting department. As it is anticipated that there will be more than one
director, and all must have the same permissions, we will create the
DIRECTORS group.

1. Create in text mode a local group named DIRECTORS.

2. Create a user named Director.

3. Associate the Director account (created in the previous activity) to the


DIRECTORS group using text mode.
Generalitat de Catalunya
Departament d’Educació

4. Check in text mode which groups the Director user belongs to.

5. Create a group called DIRECTORS_ADMINISTRATORS and add the user


Director.
Check in text mode which users belong to the
DIRECTORS_ADMINISTRATORS group.

6. Delete the DIRECTORS_ADMINISTRATORS group in text mode


Generalitat de Catalunya
Departament d’Educació

POLICY CONFIGURATION

Log in as Administrator to implement the directives.


To check that the directives also apply to other users, log out and restart as
another user.

gpedit.msc: obre les directives de grup


gpupdate: actualitza les directives de grup

Local Security Policy.


7. Set the minimum password length to 6 characters.

8. Allow any user to change the system time (you must use the Users group).

9. Which directive allows you to shut down a computer remotely?


Shutdown /s /t 45 /f /m \HRSRV2
a. Who has permissions to remotely shut down a computer?
Those chosen by the administrator.
Generalitat de Catalunya
Departament d’Educació

b. How can you prevent them from remotely shutting down a computer?
Leave the firewall without exception (which is not a concrete
solution)// this can be done while doing option 2 to avoid
any shutdown while configuring the pc.
Go to the control panel, administrative tools, then local
security policy, then we go to local policies, then user
rights assignment, we will see on the right side a bunch of
policies, we look for "Force shutdown from a remote system",
double click , administrators will exit, they click on remove
and that's it, accept, they will no longer be able to turn
off the pc remotely.
10. Which directive causes the login to ask for username and password instead
of showing user icons?
The password policy

You might also like