or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
Smartcard login with the various GDM profiles can be simluated using software smartcards, a "simplified" way is to use these scripts that creates certificates and virtual smartcards.
While they should not be destructive by default (as they are designed to restore everything they change at system level), it's recommended to test the scripts in a VM with SSH access so that it's easier to verify the outcome.
Now in a SSH terminal (or a tty) run:
Once gdm will be started, it will try the smartcard authentication at first, so type the user name you want to log in with (but only the user that launched the previous command with
sudo
will be the one allowed).So ensure that the
$SUDO_USER
is the only one allowed to login (and only with the specified PIN number) and that no one else is.Hitting Enter, the tool iterates through various GDM smart card configurations (
gdm-smartcard-sssd-exclusive
andgdm-smartcard-sssd-or-password
), using different kinds of certificates, but in all the cases the$SUDO_USER
should be allowed to login with Smartcard only or also with password as fallback (in thegdm-smartcard-sssd-or-password
case).For what concerns the GDM UI testing, once the first 2 steps have been tested, the test is considered to pass.