*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
Originally posted by crash748 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
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.
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...................
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.