admin password
I am new at this. I have taken a job as administrator at this office. The old administrator never left his password. He said he created an admin user/password for me, but this does not work. Is is possible to change his password without knowing it. They are using Openbsd on the server. I know a little on openbsd how to create new users/change passwords. I can type my user name and password but when I type su and the password it comes up and says "you are not in the group wheel BAD SU to root."
Any info would help....... |
The reason you can't su is because you're not in the group wheel. However, I don't think without being root that you can change that...
Edit: Why not just log onto root from the start? When you do that you can add your user to the group wheel and you should be fine...Assuming that the password he gave you was correct for root. |
boot into single user mode, boot -s at the bootprompt.
then you can get a root shell without using a password. - edit the root passwd - add your admin acount to wheel |
what about :
starting from cd into shell mode, mounting the openbsd-root-partition from the disklabel and change the /etc/passwd file by deleting all the crypto stuff in it ? then, there should be no password required anymore to log in as user root. |
admin password
The user and password he set up is on the wheel but does not work.
It comes up and says "This account is currently not available" Anyone's help would be appreciated.....Thanks |
Quote:
|
As hellfish suggested, boot to single user mode, mount / read/write and remove the password hashes from /etc/passwd - then exit single user mode to continue the boot process, and login as root, just hitting enter for a blank password. Then set yourself a new password.
|
admin password
Thanks to everyone's help. It worked.
Thanks again. |
Would you please mind stating what it was that worked, for future reference by people searching the forum?
|
admin password
I thank everyone for their help.
What I did was boot into single user mode, boot -s at the bootprompt. then I can got a root shell without using a password. - What I did was edit the root passwd and then added my admin acount to wheel Thanks again................... |
No problem. :)
|
All times are GMT -5. The time now is 03:17 PM. |