I'm running FreeBSD 11.4. Looks like I made a rookie mistake...
I was reading chapter 7 in Absolute FreeBSD by Michael Lucas and I tried a couple of the examples for /etc/login.access
My rules:
And it works... kinda.
I CAN log in from another machine on my local network with my non-root wheel user, but...
I CANNOT su from that user
I CANNOT login as root from the console (it says my password is wrong but it's not)
So, I rebooted the server into single user mode, and I tried:
How can I remove those rules from login.access?
thanks
I was reading chapter 7 in Absolute FreeBSD by Michael Lucas and I tried a couple of the examples for /etc/login.access
My rules:
Code:
+:wheel:console
+:wheel:192.168.0.
-:ALL:ALL
And it works... kinda.
I CAN log in from another machine on my local network with my non-root wheel user, but...
I CANNOT su from that user
I CANNOT login as root from the console (it says my password is wrong but it's not)
So, I rebooted the server into single user mode, and I tried:
Code:
# mount -u /
mount: /dev/mfid0s1a: R/W mount of / denied. Filesystem is not clean
- run fsck. Forced mount will invalidate journal contents: Operation
not permitted
How can I remove those rules from login.access?
thanks