1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-07 15:26:01 +02:00

multiple pages: change user_name to username (#3841)

This commit is contained in:
Lucas Gabriel Schneider 2020-02-08 15:56:05 -03:00 committed by GitHub
parent 2c9b7c9f5c
commit 26e019b295
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 23 additions and 23 deletions

View file

@ -12,7 +12,7 @@
- Exibir os processos de um usuário específico: - Exibir os processos de um usuário específico:
`top -u {{user_name}}` `top -u {{username}}`
- Exibir o(s) processo(s) de um ou mais PID específico(s), separado(s) por vírgula: - Exibir o(s) processo(s) de um ou mais PID específico(s), separado(s) por vírgula:

View file

@ -25,7 +25,7 @@
- List all gists for the currently logged in user: - List all gists for the currently logged in user:
`gist -l {{user_name}}` `gist -l {{username}}`
- Use the id from the gist URL to modify or include a file: - Use the id from the gist URL to modify or include a file:

View file

@ -5,24 +5,24 @@
- Create/overwrite htpasswd file: - Create/overwrite htpasswd file:
`htpasswd -c {{path/to/file}} {{user_name}}` `htpasswd -c {{path/to/file}} {{username}}`
- Add user to htpasswd file or update existing user: - Add user to htpasswd file or update existing user:
`htpasswd {{path/to/file}} {{user_name}}` `htpasswd {{path/to/file}} {{username}}`
- Add user to htpasswd file in batch mode without an interactive password prompt (for script usage): - Add user to htpasswd file in batch mode without an interactive password prompt (for script usage):
`htpasswd -b {{path/to/file}} {{user_name}} {{password}}` `htpasswd -b {{path/to/file}} {{username}} {{password}}`
- Delete user from htpasswd file: - Delete user from htpasswd file:
`htpasswd -D {{path/to/file}} {{user_name}}` `htpasswd -D {{path/to/file}} {{username}}`
- Verify user password: - Verify user password:
`htpasswd -v {{path/to/file}} {{user_name}}` `htpasswd -v {{path/to/file}} {{username}}`
- Display a string with username (plain text) and password (md5): - Display a string with username (plain text) and password (md5):
`htpasswd -nbm {{user_name}} {{password}}` `htpasswd -nbm {{username}} {{password}}`

View file

@ -16,7 +16,7 @@
- View all logins by a specific user and show the ip address instead of the hostname: - View all logins by a specific user and show the ip address instead of the hostname:
`last {{user_name}} -i` `last {{username}} -i`
- View all recorded reboots (i.e., the last logins of the pseudo user "reboot"): - View all recorded reboots (i.e., the last logins of the pseudo user "reboot"):

View file

@ -4,15 +4,15 @@
- Add a user to the current project: - Add a user to the current project:
`add user {{user_name}};` `add user {{username}};`
- Grant a set of authorities to a user: - Grant a set of authorities to a user:
`grant {{action_list}} on {{object_type}} {{object_name}} to user {{user_name}};` `grant {{action_list}} on {{object_type}} {{object_name}} to user {{username}};`
- Show authorities of a user: - Show authorities of a user:
`show grants for {{user_name}};` `show grants for {{username}};`
- Create a user role: - Create a user role:
@ -28,4 +28,4 @@
- Grant a role to a user: - Grant a role to a user:
`grant {{role_name}} to {{user_name}};` `grant {{role_name}} to {{username}};`

View file

@ -2,9 +2,9 @@
> Send email from the command line. > Send email from the command line.
- Send a message with the content of message.txt to the mail directory of local user `user_name`: - Send a message with the content of message.txt to the mail directory of local user `username`:
`sendmail {{user_name}} < {{message.txt}}` `sendmail {{username}} < {{message.txt}}`
- Send an email from you@yourdomain.com (assuming the mail server is configured for this) to test@gmail.com containing the message in `message.txt`: - Send an email from you@yourdomain.com (assuming the mail server is configured for this) to test@gmail.com containing the message in `message.txt`:

View file

@ -4,15 +4,15 @@
- List password information for the user: - List password information for the user:
`chage -l {{user_name}}` `chage -l {{username}}`
- Enable password expiration in 10 days: - Enable password expiration in 10 days:
`sudo chage -M {{10}} {{user_name}}` `sudo chage -M {{10}} {{username}}`
- Disable password expiration: - Disable password expiration:
`sudo chage -M -1 {{user_name}}` `sudo chage -M -1 {{username}}`
- Set account expiration date: - Set account expiration date:

View file

@ -8,7 +8,7 @@
- Start htop displaying only processes owned by given user: - Start htop displaying only processes owned by given user:
`htop -u {{user_name}}` `htop -u {{username}}`
- Get help about interactive commands: - Get help about interactive commands:

View file

@ -9,12 +9,12 @@
- Add a specified user to Samba and set password(user should already exist in system): - Add a specified user to Samba and set password(user should already exist in system):
`smbpasswd -a {{user_name}}` `smbpasswd -a {{username}}`
- Modify an existing Samba user's password: - Modify an existing Samba user's password:
`smbpasswd {{user_name}}` `smbpasswd {{username}}`
- Delete a Samba user: - Delete a Samba user:
`smbpasswd -x {{user_name}}` `smbpasswd -x {{username}}`

View file

@ -12,7 +12,7 @@
- Show only processes owned by given user: - Show only processes owned by given user:
`top -u {{user_name}}` `top -u {{username}}`
- Show the individual threads of a given process: - Show the individual threads of a given process: