Role password permission denied

Hi Guys,
I just created a role called level1 with profiles (Printer Management,Media Backup, Media Restore) and I am trying to give the role a password but the system kept saying permission denied. Is there anything I am doing wrong? I will really appreciate your help.

# passwd level1
New Password:
Re-enter new Password:
Permission denied
#

Are you running "passwd" as root?

Yes I am running "passwd" as root

Post output of

grep shadow /etc/nsswitch.conf
1 Like

Thanks bartus11. I figured my nsswitch.conf file was nis and i do not use nis. So i change the nsswitch back to files. Got it working.
Thanks much