[solved] gradm -a admin says "Invalid password."
Posted: Tue Oct 07, 2014 1:37 pm
Problem:
gradm -a admin says "Invalid password."
The same thing happens in KDE, using sudo -i, su -, bash, etc., but only if I enabled RBAC learning mode in /etc/init.d/boot.local instead of another way (note the strange /etc/init.d in the grep output). (and learning mode doesn't work at all in before.local). I got the idea to put it in that file from this page which puts it in rc.local which doesn't exist here.
peter@peter:~> sudo -i
peter's password:
peter:~ # gradm -a admin
Password:
Invalid password.
peter:~ # grep RBAC /proc/$$/status
RBAC: default:D:/etc/init.d
This works in any text tty, or ssh localhost.
peter@peter:~> ssh localhost
Enter passphrase for key '/home/peter/.ssh/id_rsa':
Last login: Tue Oct 7 15:51:48 2014 from console
Have a lot of fun...
peter@peter:~> sudo -i
peter's password:
peter:~ # gradm -a admin
Password:
peter:~ # grep RBAC /proc/$$/status
RBAC: admin:S:/
So what can I do to allow admin logins from KDE?
Is there a better place to activate learning mode while it is booting?
Thanks
gradm -a admin says "Invalid password."
The same thing happens in KDE, using sudo -i, su -, bash, etc., but only if I enabled RBAC learning mode in /etc/init.d/boot.local instead of another way (note the strange /etc/init.d in the grep output). (and learning mode doesn't work at all in before.local). I got the idea to put it in that file from this page which puts it in rc.local which doesn't exist here.
peter@peter:~> sudo -i
peter's password:
peter:~ # gradm -a admin
Password:
Invalid password.
peter:~ # grep RBAC /proc/$$/status
RBAC: default:D:/etc/init.d
This works in any text tty, or ssh localhost.
peter@peter:~> ssh localhost
Enter passphrase for key '/home/peter/.ssh/id_rsa':
Last login: Tue Oct 7 15:51:48 2014 from console
Have a lot of fun...
peter@peter:~> sudo -i
peter's password:
peter:~ # gradm -a admin
Password:
peter:~ # grep RBAC /proc/$$/status
RBAC: admin:S:/
So what can I do to allow admin logins from KDE?
Is there a better place to activate learning mode while it is booting?
Thanks