y-sassaさん
先ず GUI でも CUI でもログインできる条件として以下があります。
・/etc/passwd に実行できるログインシェルが記載されていること。
・パスワードが設定されていること。
ログインできないユーザをログインできるようにするには以下のように行います。
- コード: 全て選択
# sudo usermod -s /bin/bash 【ユーザー名】
# sudo passwd 【ユーザー名】
Changing password for user 【ユーザー名】.
New password: 【パスワード】
Retype new password: 【パスワード】
passwd: all authentication tokens updated successfully.
しかし su コマンドを使ってldapユーザ名でログインできたということは、これはおそらくパスしているのでしょう。
次に、MDM(ログイン画面) からログインできる条件として以下があります。
・ユーザIDが1000以上であること。
・Exclude リストに記載されていないこと。
この設定ファイルは /usr/share/mdm/defaults.conf です。
この中に以下のような記述があります。
[greeter]# The default picture in the browser.
DefaultFace=/usr/share/pixmaps/nobody.png
# User ID's less than the MinimalUID value will not be included in the face
# browser or in the mdmselection list for Automatic/Timed login. They will not
# be displayed regardless of the settings for Include and Exclude.
MinimalUID=1000
# Users listed in Include will be included in the face browser and in the
# mdmsetup selection list for Automatic/Timed login. Users should be separated
# by commas.
#Include=
# Users listed in Exclude are excluded from the face browser and from the
# mdmsetup selection list for Automatic/Timed login. Excluded users will still
# be able to log in, but will have to type their username. Users should be
# separated by commas.
Exclude=nobody
# By default, an empty include list means display no users. By setting
# IncludeAll to true, the password file will be scanned and all users will be
# displayed except users excluded via the Exclude setting and user ID's less
# than MinimalUID. Scanning the password file can be slow on systems with
# large numbers of users and this feature should not be used in such
# environments. The setting of IncludeAll does nothing if Include is set to a
# non-empty value.
IncludeAll=true
ここの MinimalUID, Include などを編集すれば、ログイン画面からログインできるようになると思います。
ただし、これで本当にログインできるようになるのか、他にも条件があるのか、その辺あまり自信はありません。
特にデフォルトのログイン画面はユーザ選択式になっていて、選択できなければログインできません。
ですので、ユーザ選択式のログイン画面ではなく、ユーザ名入力式のログイン画面に変えたほうがより確実だと思います。
ユーザ名入力式のログイン画面に変えるには、メニューの中から「ログイン画面」というアイコンを探してください。
そこで「スタイル」を HTML からGDM に変更すると、その中にユーザ名入力式のログイン画面のデザインが含まれています。
参考になれば幸いです。