/usr/sbin/nologin
или /bin/false
mark:x:1001:1001:mark,,,:/home/mark:/bin/bash
[--] - [--] [--] [-----] [--------] [--------]
| | | | | | |
| | | | | | +-> 7. Login shell
| | | | | +----------> 6. Home directory
| | | | +--------------------> 5. GECOS
| | | +--------------------------> 4. GID
| | +-------------------------------> 3. UID
| +-----------------------------------> 2. Password
+----------------------------------------> 1. Username
@startuml
interface Chat {
id: string
type: ChatType
name: string
participantCount: int
invitationLink: string
isAllowAccessByInvitationLink: bool
isAllowAccessInvitations: bool
isInArchive: bool
createadAt: Timestamp
updatedAt: Timestamp
}
enum ChatType {
Chat = "chat" // чат
Community = "community" // сообщество
Event = "event" // событие
Course = "course" // курс
}
Chat -> ChatType
@enduml
let user = {
name: "David",
age: 25,
}
function objectClone(object) {
let newObject = {};
for (let key in object) {
newObject[key] = object[key];
}
return newObject;
}
let user2 = objectClone(user);
console.log(user2.name); // выводит "David"
The :valid CSS pseudo-class represents any or other element whose contents validate successfully.