.


:




:

































 

 

 

 


. -, /etc/passwd, UID. UID 100, UID . GID, . , , . . (, (spool) ).

, , - . , . useradd adduser, , .

:

useradd [] LOGIN

:

-d

-s

-p

-g ( )

-G ( , )

useradd -g primary_grp -G admin -s /bin/shell -p xxxx -d /home/user

 

userdel deluser. , , ( *) /etc/passwd, . , kiwi

kiwi:*Xv8Q981g71oKK:102:100:Laura Poole:/home/kiwi:/bin/bash

kiwi .

, , , , . /etc/passwd. passwd. ,

passwd larry

larry. root, , passwd .

, . , . -, -, , , . , .

, , , bin, mail, sys. , . , , users.

/etc/group. :

::GID:

:

root:*:0:

users:*:100:mdw,larry

guest:*:200:

other:*:250:kiwi

root root. users . GID 100, mdw larry. , /etc/passwd . , , /etc/group. groups , ( ) .

guest . other; kiwi.

/etc/group password () , . . , ( newgroup), *.

addgroup groupadd. /etc/group, . /etc/group.



<== | ==>
|
:


: 2018-10-18; !; : 150 |


:

:

, .
==> ...

1755 - | 1578 -


© 2015-2024 lektsii.org - -

: 0.01 .