Hi folks.
This afternoon, I upgraded my system to FreeBSD 10.3-RELEASE-p21 (with a make buildworld, etc... as I do 1 or 2 times per year).
And I don't know if it's related, but since, I can't use user account, except root and wheel users. See:
Try to connect (localhost with
But everything seems ok...
However, if I put 'toto' user in 'wheel' group, it's OK! But I don't want this user in a wheel group. It's weird. It's the only fix I found...
Any ideas? Do you need more information? Thanks a lot!
Thanks a lot.
Regards,
This afternoon, I upgraded my system to FreeBSD 10.3-RELEASE-p21 (with a make buildworld, etc... as I do 1 or 2 times per year).
And I don't know if it's related, but since, I can't use user account, except root and wheel users. See:
Try to connect (localhost with
su
, or with ssh
)
Code:
root@**** folder $ su toto
su: /bin/sh: Permission denied
Code:
userok@*** folder $ ssh toto@****
Password for toto@a****:
Last login: Sun Sep 17 00:12:09 2017 from ***.***.***.**.**.***.**
Could not chdir to home directory /home/toto: Permission denied
/bin/sh: Permission denied
Connection to ****.****.*** closed.
But everything seems ok...
Code:
root@**** / $ ls -l /home
total 32836
drwxrwxr-x 2 root operator 512 Nov 3 2015 .snap/
-r-------- 1 root wheel 33554432 Nov 3 2015 .sujournal
drwxr-xr-x 2 toto toto 512 Sep 17 00:07 toto/
Code:
root@**** / $ id toto
uid=1006(toto) gid=1006(toto) groups=1006(toto)
Code:
See:
root@**** / $ ls -l /
total 32869
drwxrwxr-x 2 root operator 512 Jan 20 2014 .snap/
-r-------- 1 root wheel 33554432 Nov 3 2015 .sujournal
-r--r--r-- 1 root wheel 6197 Sep 7 2015 COPYRIGHT
drwxrwxrwx 2 root wheel 1024 Sep 16 16:58 bin/
d-wx--xr-x 10 root wheel 1536 Sep 16 21:51 boot/
dr-xr-xr-x 8 root wheel 512 Sep 16 23:59 dev/
-rw------- 1 root wheel 4096 Sep 16 23:59 entropy
drwxr-xr-x 21 root wheel 2560 Sep 17 00:16 etc/
drwxr-xr-x 11 root wheel 1024 Sep 17 00:07 home/
drwxr-xr-x 3 root wheel 1536 Sep 16 16:57 lib/
drwxr-xr-x 3 root wheel 512 Sep 16 16:59 libexec/
drwxr-xr-x 3 root wheel 512 Aug 13 18:25 mnt/
dr-xr-xr-x 1 root wheel 0 Sep 17 00:21 proc/
drwxr-xr-x 2 root wheel 2560 Sep 16 16:57 rescue/
drwxr-xr-x 7 root wheel 512 Sep 17 00:16 root/
drwxr-xr-x 2 root wheel 2560 Sep 16 16:58 sbin/
drwxrwxrwt 6 root wheel 512 Sep 16 23:59 tmp/
drwxr-xr-x 14 root wheel 512 Sep 16 17:05 usr/
drwxr-xr-x 25 root wheel 1024 Sep 16 23:59 var/
Code:
root@**** / $ ls -l /bin/sh
-r-xr-xr-x 1 root wheel 145760 Sep 16 16:57 /bin/sh*
However, if I put 'toto' user in 'wheel' group, it's OK! But I don't want this user in a wheel group. It's weird. It's the only fix I found...
Any ideas? Do you need more information? Thanks a lot!
Thanks a lot.
Regards,