1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-15 01:24:29 +02:00

id formatting

This commit is contained in:
Kelly Brazil
2020-02-04 21:12:32 -08:00
parent 3b36022e5a
commit 831a42f660

View File

@ -674,32 +674,32 @@ $ cat /etc/hosts | jc --hosts -p
### id
```
$ id | jc --id -p
{
"uid": {
"id": 1000,
"name": "kbrazil"
},
"gid": {
"id": 1000,
"name": "kbrazil"
},
"groups": [
{
"uid": {
"id": 1000,
"name": "kbrazil"
},
"gid": {
"id": 1000,
"name": "kbrazil"
},
"groups": [
{
"id": 1000,
"name": "kbrazil"
},
{
"id": 10,
"name": "wheel"
}
],
"context": {
"user": "unconfined_u",
"role": "unconfined_r",
"type": "unconfined_t",
"level": "s0-s0:c0.c1023"
}
"id": 1000,
"name": "kbrazil"
},
{
"id": 10,
"name": "wheel"
}
],
"context": {
"user": "unconfined_u",
"role": "unconfined_r",
"type": "unconfined_t",
"level": "s0-s0:c0.c1023"
}
}
```
### ifconfig
```