DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 1st January 2011
zhorik zhorik is offline
New User
 
Join Date: Jan 2011
Posts: 1
Question Passwords

How do I change my login password on my openBsd system?
Reply With Quote
  #2   (View Single Post)  
Old 1st January 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

Wrong forum section, and you clearly didn't try looking it up yourself.

No cookie for you.
Reply With Quote
  #3   (View Single Post)  
Old 1st January 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

http://lmgtfy.com/?q=openbsd+forgot+root+password
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #4   (View Single Post)  
Old 13th January 2011
jackthechemist jackthechemist is offline
Port Guard
 
Join Date: Dec 2010
Posts: 14
Default

Is it the wrong forum though? I mean it is a General question (not really installation/security related) ... at any rate, it hasn't been moved so I'm going to answer!

Use 'passwd' to change your passwd. You may need to be root or sudo I'm not sure. Read 'man passwd'.

Also, I believe you should call '/usr/bin/passwd' rather than 'passwd' (i.e. state the path to the command explicitly, you wouldn't want to execute the wrong command with elevated privileges, right?) Hm, on that note, if you do need to use sudo then you'll prolly want to state the full path for sudo as well (of course).

fyi:

use 'which' to get the full path of a command (i.e. 'which sudo')
use 'apropos' to find information on something that isn't a command (i.e. if 'man password' did show anything, you really should have tried 'apropos password'...)

Hope that helps! ^_^

Jack
Reply With Quote
  #5   (View Single Post)  
Old 13th January 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

It was moved by an Administrator/Moderator, originally they posted in a NetBSD subforum.

I don't believe that they have signed back in after posting, such a trivial problem can be answered by at least showing a little initiative.. for an OS like OpenBSD it's expected that people be capable of basic problem solving.
Reply With Quote
  #6   (View Single Post)  
Old 14th January 2011
jackthechemist jackthechemist is offline
Port Guard
 
Join Date: Dec 2010
Posts: 14
Default

Oh I see.


Hmm, indeed!


Jack
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Generating passwords with jot(1) J65nko Guides 9 29th August 2014 01:03 PM
Analysis of 32 million breached passwords J65nko News 1 21st January 2010 09:37 PM
Questions about encrypt local passwords aleunix OpenBSD Security 4 2nd June 2008 02:07 PM
Generating random passwords on FreeBSD erno Guides 3 8th May 2008 08:44 AM


All times are GMT. The time now is 06:07 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick