Hi all...
I want to change both the UID and GID from 974 to 1001 in FreeBSD. I have tried:
id frank
uid=974(frank) gid=974(frank) groups=974(frank)
pw user mod -n frank -g 1001
pw group mod -n frank -g 1001
id frank
uid=974(frank) gid=974(frank) groups=974(frank)
I...
I'm having an issue with my NIS system. I am trying to use pw to change a password of a user on my NIS. I have all the NIS users in a /var/yp/master.passwd file.
When I use the command:
echo 'password' | pw mod user TestUser -Y -y /var/yp/master.passwd -h 0
I get an error:
pw: no such user...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.