LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 06-16-2005, 11:00 AM   #1
amcarthur
LQ Newbie
 
Registered: Jun 2005
Posts: 11

Rep: Reputation: 0
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.......
 
Old 06-16-2005, 11:35 AM   #2
xaenn
Member
 
Registered: Nov 2004
Posts: 53

Rep: Reputation: 15
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.

Last edited by xaenn; 06-16-2005 at 11:36 AM.
 
Old 06-16-2005, 11:54 AM   #3
crash748
LQ Newbie
 
Registered: Aug 2003
Posts: 18

Rep: Reputation: 0
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
 
Old 06-16-2005, 11:58 AM   #4
hellfish
LQ Newbie
 
Registered: Jun 2005
Location: Germany, black forest
Distribution: Slackware, Open/FreeBSD
Posts: 13

Rep: Reputation: 0
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.
 
Old 06-16-2005, 03:30 PM   #5
amcarthur
LQ Newbie
 
Registered: Jun 2005
Posts: 11

Original Poster
Rep: Reputation: 0
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
 
Old 06-16-2005, 07:44 PM   #6
RJW
Member
 
Registered: Nov 2003
Posts: 146

Rep: Reputation: Disabled
Quote:
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
Have you tried this?
 
Old 06-16-2005, 07:45 PM   #7
rehab junkie
Member
 
Registered: Nov 2003
Location: /var/local/pub/bar
Distribution: OSX 10.4.9
Posts: 259

Rep: Reputation: 30
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.
 
Old 06-17-2005, 10:27 AM   #8
amcarthur
LQ Newbie
 
Registered: Jun 2005
Posts: 11

Original Poster
Rep: Reputation: 0
admin password

Thanks to everyone's help. It worked.
Thanks again.
 
Old 06-20-2005, 05:16 AM   #9
rehab junkie
Member
 
Registered: Nov 2003
Location: /var/local/pub/bar
Distribution: OSX 10.4.9
Posts: 259

Rep: Reputation: 30
Would you please mind stating what it was that worked, for future reference by people searching the forum?
 
Old 06-20-2005, 10:13 AM   #10
amcarthur
LQ Newbie
 
Registered: Jun 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Smile 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...................
 
Old 06-20-2005, 08:26 PM   #11
rehab junkie
Member
 
Registered: Nov 2003
Location: /var/local/pub/bar
Distribution: OSX 10.4.9
Posts: 259

Rep: Reputation: 30
No problem.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
webmin admin password reset partom *BSD 2 08-02-2004 05:19 AM
How to launch kppp without admin password matt_w_lambert Fedora 3 06-19-2004 08:39 PM
admin. password mark1346 Linux - Software 2 08-05-2003 05:24 PM
How to retrieve Admin password? gogo Linux - General 9 03-27-2003 02:53 PM
Recovering Lost Admin. Password Mr Neroazzurri Linux - Security 4 03-14-2003 05:26 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 03:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration