There is also problem with shells.

In the file /etc/passwd I set:
user:x:1001:1001:,,,:/home/user:/bin/false

In file /etc/shells I added
/bin/false

Also checked:
# ls -l /bin/false 
-rwxr-xr-x 1 root root 22896 apr    1 06:09 /bin/false

But still can "user" log in as regular user through GUI. I would like to
create user for FTP server (vsftpd), that works only with FTP and not as
regular user.

I noticed, that at the file /etc/lightdm/users.conf there is written:
hidden-shells=/bin/false /usr/sbin/nologin

What does this mean? If /bin/false is hidden, then it is not active and
user can still log in? I even tried to remove that /bin/false but it
didn't help - still can user log in even its shell is /bin/false

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/857651

Title:
  Unable to hide users from login screen / user switcher

To manage notifications about this bug go to:
https://bugs.launchpad.net/accountsservice/+bug/857651/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to