Closed prasaanth2k closed 9 months ago
Probably something about running under sudo changes the assumptions, such as what settings are in $HOME or what backends are available or what credentials are readable.
Yes, bro, that's correct. This keyring works on user basics. When we store the value in the keyring, it also stores it with the current user's name. There are some conditions:
When we store with sudo
, and we need to fetch the data with sudo
, a normal user can't fetch it.
When we store as a normal user, we can fetch it with sudo. So, it's our decision whether we go with sudo or a normal user.
when we run this code a sudo it is retuning none why?