Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 3525418

Browse files
Update README.md
1 parent e430d6a commit 3525418

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,24 @@ mgc login --strategy InteractiveBrowser
6767
``` bash
6868
# Using Client Certificate authentication.
6969
mgc login --strategy ClientCertificate
70+
```
71+
### **Linux users**
72+
73+
>**Note:** For linux users please run the following commands before authenticating
74+
``` bash
75+
sudo apt install gnome-keyring libsecret-1-0
76+
77+
sudo setcap cap_ipc_lock=+ep $(which gnome-keyring-daemon)
78+
79+
export DBUS_SESSION_BUS_ADDRESS=$(dbus-daemon --session --fork --print-address)
7080

81+
export KEYRING_PASSWORD=any-password
82+
83+
dbus-run-session -- echo "$KEYRING_PASSWORD" | gnome-keyring-daemon --daemonize --components=secrets --unlock
84+
85+
mgc login
7186
```
87+
7288
### Samples
7389
You can find additional samples here: [CLI SDK samples](https://github.com/microsoftgraph/msgraph-cli/tree/main/samples)
7490

0 commit comments

Comments
 (0)