Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
December 29, 2021 06:30 am GMT

Pardus 21'de tm-rakam kullanc sorunu zm

Gncel GNU/Linux iletim sistemlerinde (rnein Pardus 21.x veya RHEL 8.x), all-numeric (tm-rakam) kullanc adlarnda oluan problemlerden dolay zellikle systemd servisindeki gncelletirmeler sonucunda tm-rakam kullanc oluturulmas engellenmitir ve bir ekilde oluturulmas durumunda eitli ilevselliklerde hatalar olumaktadr.

Sorunun belirlenmesi

Sorun en temel olarak sistemde kullanc eklenirken olumaktadr. "--force-badname" olarak kullanc eklense bile systemd zerindeki baz servislerde problem olumaya devam etmektedir.

adduser: Please enter a username matching the regular expression configuredvia the NAME_REGEX configuration variable.  Use the `--force-badname'option to relax this check or reconfigure NAME_REGEX.

Domain ortamlarnda sorunun zm

Sorun, tm-rakam kullanc isminden dolay olduu iin sistemin salkl alabilmesi iin kullanc ismi maniplasyonu gerekmektedir. Kurumsal ortamda kullanc ismi olarak [email protected] eklinde bir isim ile problem zlmektedir.

Tabi ki bu sre iin daha ncesinde sistemin SSSD ile entegre olacak ekilde domaine alnm olmas gerekmektedir.

sssd.conf kullanm ile kullanc ad maniplasyonu

Giri yapacak kullanc isimleri iin [domain/aciklab.lab] sekmesi altnda aadaki parametrenin eklenmesi gerekmektedir.

use_fully_qualified_names = True

Bu satrn eklenmesi sonrasnda servisin yenilenmesi gerekecektir.

sudo systemctl restart sssd

Image description

lightdm zerinden kullanc ad ile giri yapmak

Varsaylan lightdm ayarlarnda daha nce giri yaplmam bilgisayarlarda kullanc girii srasnda sadece 12345678911 kullanc ad yerine [email protected] kullanc ad ile giri yaplmas gerekmektedir. lk giri yaptktan sonra tekrardan uzun isim yazmak gerekmemektedir. Bunun iin /etc/lightdm/lightdm.conf ierisinde aadaki satrn true olmad netlemelidir.

greeter-hide-users=false

Image description


Original Link: https://dev.to/aciklab/pardus-21de-tumu-rakam-kullanici-sorunu-cozumu-4n4d

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To