1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 22:02:09 +02:00
tldr/pages.hi/openbsd/chpass.md
K.B.Dharun Krishna b731fedb33
pages.hi: fix username translation, Windows paths (#14902)
* pages.hi: fix username translation, Windows paths

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* pages.hi: fix false positives from username space fix

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-11-18 09:33:18 -08:00

1.2 KiB

chpass

उपयोगकर्ता डेटाबेस जानकारी जोड़ें या बदलें, जिसमें लॉगिन शेल और पासवर्ड शामिल हैं। देखें: passwd। अधिक जानकारी: https://man.openbsd.org/chsh

  • वर्तमान उपयोगकर्ता के लिए इंटरैक्टिव रूप से एक विशिष्ट लॉगिन शेल सेट करें:

doas chsh

  • वर्तमान उपयोगकर्ता के लिए एक विशिष्ट लॉगिन [s]hell सेट करें:

doas chsh -s {{शेल/का/पथ}}

  • एक विशिष्ट उपयोगकर्ता के लिए लॉगिन [s]hell सेट करें:

doas chsh -s {{शेल/का/पथ}} {{उपयोगकर्ता_नाम}}

  • passwd फ़ाइल प्रारूप में एक उपयोगकर्ता डेटाबेस प्रविष्टि निर्दिष्ट करें:

doas chsh -a {{उपयोगकर्ता_नाम:एनक्रिप्टेड_पासवर्ड:uid:gid:...}}