Re: PASSWORD LOST!!

2010-02-13 Thread Ruben de Groot
On Fri, Feb 12, 2010 at 08:05:24AM -0600, John typed:
  
  If this is a dedicated server (or a VPS, or RPS, or any type of server 
  hosted by a server provider), you may have a rescue system, so you can 
  boot it and chroot yourself to access the system. Or, in some cases, you 
  can have a KVM-over-IP access, so you can boot into single user mode.
 
 People, people - be careful that we are not creating a formula to
 break into FreeBSD servers around the world...

That formula is allready there (but fixed in more recent source off course)

http://seclists.org/fulldisclosure/2009/Nov/371

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: PASSWORD LOST!!

2010-02-12 Thread Julien Gormotte

Le 12/02/2010 02:24, Olivier Nicole a écrit :

If you have physical access to the server, just reboot it in single user
 

mode,
   

and change the password. You might need to forcibly power it off. It is
 

all
   

covered in the handbook. If you don't have physical access,  I think you
 

may
   

be out of luck...

 

May be out of luck? I would hope he is totally out of luck without
physical access, if
you get my drift!

Hope you do have physical access Eric

   

May not be out of luck depending on if the machine has had the last couple
of years worth of updates. I'm guessing not if nobody has the root password
and the persom who had set it up in the first place has been MIA for who
knows how long.
 

I was thinking along the same lines, but at same time Eric didn't know
about booting to single user, so would he be able to remotely hack
into his own system?

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
   
If this is a dedicated server (or a VPS, or RPS, or any type of server 
hosted by a server provider), you may have a rescue system, so you can 
boot it and chroot yourself to access the system. Or, in some cases, you 
can have a KVM-over-IP access, so you can boot into single user mode.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: PASSWORD LOST!!

2010-02-12 Thread John
On Fri, Feb 12, 2010 at 10:29:20AM +0100, Julien Gormotte wrote:
 Le 12/02/2010 02:24, Olivier Nicole a écrit :
  If you have physical access to the server, just reboot it in single user
   
  mode,
 
  and change the password. You might need to forcibly power it off. It is
   
  all
 
  covered in the handbook. If you don't have physical access,  I think you
   
  may
 
  be out of luck...
 
   
  May be out of luck? I would hope he is totally out of luck without
  physical access, if
  you get my drift!
 
  Hope you do have physical access Eric
 
 
  May not be out of luck depending on if the machine has had the last couple
  of years worth of updates. I'm guessing not if nobody has the root password
  and the persom who had set it up in the first place has been MIA for who
  knows how long.
   
  I was thinking along the same lines, but at same time Eric didn't know
  about booting to single user, so would he be able to remotely hack
  into his own system?
 
  Olivier
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
 If this is a dedicated server (or a VPS, or RPS, or any type of server 
 hosted by a server provider), you may have a rescue system, so you can 
 boot it and chroot yourself to access the system. Or, in some cases, you 
 can have a KVM-over-IP access, so you can boot into single user mode.

People, people - be careful that we are not creating a formula to
break into FreeBSD servers around the world...

The only acceptable solution is for someone in Eric's organization
to secure physical access to the server.  It may be in a co-lo
situation, but if that's true, they must have a contract open and,
if nothing else, they terminate the contract and get the machine
back, though more likely, the contract allows them supervised
access.  Machines are not perfect - even without losing the root
password, they break and need maintenance - this is a MAINTENANCE
event and should be treated as such, just like a hard drive failure
or a NIC failure.

Creating a scheme for someone to break into FreeBSD systems remotely
or to publicize schemes people have created to remotely manage their
systems in ways that could be used to compromise them is foolishness!

Regardless of the purity of his intention, Eric is asking us to
tell him how to break into our homes or steal our cars. ;)
-- 

John Lind
j...@starfire.mn.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: PASSWORD LOST!!

2010-02-12 Thread Adam Vande More
On Fri, Feb 12, 2010 at 8:05 AM, John j...@starfire.mn.org wrote:

 People, people - be careful that we are not creating a formula to
 break into FreeBSD servers around the world...

 The only acceptable solution is for someone in Eric's organization
 to secure physical access to the server.  It may be in a co-lo
 situation, but if that's true, they must have a contract open and,
 if nothing else, they terminate the contract and get the machine
 back, though more likely, the contract allows them supervised
 access.  Machines are not perfect - even without losing the root
 password, they break and need maintenance - this is a MAINTENANCE
 event and should be treated as such, just like a hard drive failure
 or a NIC failure.

 Creating a scheme for someone to break into FreeBSD systems remotely
 or to publicize schemes people have created to remotely manage their
 systems in ways that could be used to compromise them is foolishness!

 Regardless of the purity of his intention, Eric is asking us to
 tell him how to break into our homes or steal our cars. ;)


Security through obscurity is no security, hence it is a good exercise.


-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: PASSWORD LOST!!

2010-02-12 Thread Julien Gormotte

Le 12/02/2010 15:19, Adam Vande More a écrit :
On Fri, Feb 12, 2010 at 8:05 AM, John j...@starfire.mn.org 
mailto:j...@starfire.mn.org wrote:


People, people - be careful that we are not creating a formula to
break into FreeBSD servers around the world...

The only acceptable solution is for someone in Eric's organization
to secure physical access to the server.  It may be in a co-lo
situation, but if that's true, they must have a contract open and,
if nothing else, they terminate the contract and get the machine
back, though more likely, the contract allows them supervised
access.  Machines are not perfect - even without losing the root
password, they break and need maintenance - this is a MAINTENANCE
event and should be treated as such, just like a hard drive failure
or a NIC failure.

Creating a scheme for someone to break into FreeBSD systems remotely
or to publicize schemes people have created to remotely manage their
systems in ways that could be used to compromise them is foolishness!

Regardless of the purity of his intention, Eric is asking us to
tell him how to break into our homes or steal our cars. ;)


Security through obscurity is no security, hence it is a good exercise.


--
Adam Vande More
I have to agree. Plus, these ways of setting root password are not 
breaking into the server. If you have a KVM over IP, it is like 
physical access. And rescue disks are used for these kinds of situation 
(among others, like kernel config errors and such).
These methods are just what they are : recovery methods. In a dedicated 
server situation, you are supposed to be the only one to have access to 
the rescue systems.


If we were discussing about gainig root privileges from a normal user 
account, or remotely (using security holes in php scripts, or in CGI, 
or... any other thing...), your complaint would somehow make sense (but 
in fact, it wouldn't, because these security holes don't have to be 
hidden, they have to be corrected).

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: PASSWORD LOST!!

2010-02-12 Thread Jon Radel

Adam Vande More wrote:

On Fri, Feb 12, 2010 at 8:05 AM, John j...@starfire.mn.org wrote:


People, people - be careful that we are not creating a formula to
break into FreeBSD servers around the world...

The only acceptable solution is for someone in Eric's organization
to secure physical access to the server.  It may be in a co-lo
situation, but if that's true, they must have a contract open and,
if nothing else, they terminate the contract and get the machine
back, though more likely, the contract allows them supervised
access.  Machines are not perfect - even without losing the root
password, they break and need maintenance - this is a MAINTENANCE
event and should be treated as such, just like a hard drive failure
or a NIC failure.

Creating a scheme for someone to break into FreeBSD systems remotely
or to publicize schemes people have created to remotely manage their
systems in ways that could be used to compromise them is foolishness!

Regardless of the purity of his intention, Eric is asking us to
tell him how to break into our homes or steal our cars. ;)



Security through obscurity is no security, hence it is a good exercise.




Quite.  In any case, the OP started out by telling us how he had plugged 
a monitor into the server, so we're several degrees removed from reality 
by this point.


--

--Jon Radel
j...@radel.com


smime.p7s
Description: S/MIME Cryptographic Signature


Re: PASSWORD LOST!!

2010-02-12 Thread Ross Cameron
On Fri, Feb 12, 2010 at 4:19 PM, Adam Vande More amvandem...@gmail.com wrote:
 On Fri, Feb 12, 2010 at 8:05 AM, John j...@starfire.mn.org wrote:

 People, people - be careful that we are not creating a formula to
 break into FreeBSD servers around the world...

 The only acceptable solution is for someone in Eric's organization
 to secure physical access to the server.  It may be in a co-lo
 situation, but if that's true, they must have a contract open and,
 if nothing else, they terminate the contract and get the machine
 back, though more likely, the contract allows them supervised
 access.  Machines are not perfect - even without losing the root
 password, they break and need maintenance - this is a MAINTENANCE
 event and should be treated as such, just like a hard drive failure
 or a NIC failure.

 Creating a scheme for someone to break into FreeBSD systems remotely
 or to publicize schemes people have created to remotely manage their
 systems in ways that could be used to compromise them is foolishness!

 Regardless of the purity of his intention, Eric is asking us to
 tell him how to break into our homes or steal our cars. ;)


 Security through obscurity is no security, hence it is a good exercise.

Agreed, in fact if anything (in my not so humble opinion) open source
platforms should ALWAYS publish all known compromises and also
lockdown procedures.

Doing so would make sure that those of us building the install media
and/or default configs do EVERYTHING possible to secure systems from
the get go.



-- 
Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: PASSWORD LOST!!

2010-02-11 Thread Liontaur
On Tue, Feb 9, 2010 at 11:44 AM, Chris Rees utis...@googlemail.com wrote:

 On 9 February 2010 15:59, Mike Jeays mike.je...@rogers.com wrote:

 
  If you have physical access to the server, just reboot it in single user
 mode,
  and change the password. You might need to forcibly power it off. It is
 all
  covered in the handbook. If you don't have physical access,  I think you
 may
  be out of luck...
 

 May be out of luck? I would hope he is totally out of luck without
 physical access, if
 you get my drift!

 Hope you do have physical access Eric

 Chris


May not be out of luck depending on if the machine has had the last couple
of years worth of updates. I'm guessing not if nobody has the root password
and the persom who had set it up in the first place has been MIA for who
knows how long.

Mark
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: PASSWORD LOST!!

2010-02-11 Thread Olivier Nicole
   If you have physical access to the server, just reboot it in single user
  mode,
   and change the password. You might need to forcibly power it off. It is
  all
   covered in the handbook. If you don't have physical access,  I think you
  may
   be out of luck...
  
 
  May be out of luck? I would hope he is totally out of luck without
  physical access, if
  you get my drift!
 
  Hope you do have physical access Eric
 
 May not be out of luck depending on if the machine has had the last couple
 of years worth of updates. I'm guessing not if nobody has the root password
 and the persom who had set it up in the first place has been MIA for who
 knows how long.

I was thinking along the same lines, but at same time Eric didn't know
about booting to single user, so would he be able to remotely hack
into his own system?

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: PASSWORD LOST!!

2010-02-09 Thread Mike Jeays
On February 8, 2010 01:53:22 pm Eric Petersen wrote:
 Hey guys,

 I have a web/ftp server loaded with FreeBSD. This was done a couple
 of years back. Since then the person or persons that did the original
 install have gone out of business and cannot be found.

 Currently I have an issue logging into the ftp. I hooked a monitor up
 to the server and I'm getting filesystem full errors and since I
 don't have a password to get in I cannot have it fixed by someone
 that knows UNIX. I have made numerous attempts to contact the person
 that installed on a personal level. But I'm getting the impression he
 has moved with no forwarding.

 I you have need for more information I will supply it. I just don't
 know where to start. Our company's ftp is down and doesn't look like
 it will return anytime soon with out further assistance.

 Thank you for your time and have a great day.

 --
 Eric Petersen
 Pre-Press Technician
 Anderson Brothers Printing Company
 4525 41st Street
 Sioux City, Iowa 51108
 phone: 712.239.
 fax: 712.239.3322
 e-mail: er...@andersonbrothers.biz



 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

If you have physical access to the server, just reboot it in single user mode, 
and change the password. You might need to forcibly power it off. It is all 
covered in the handbook. If you don't have physical access,  I think you may 
be out of luck...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: PASSWORD LOST!!

2010-02-09 Thread Chris Rees
On 9 February 2010 15:59, Mike Jeays mike.je...@rogers.com wrote:
 On February 8, 2010 01:53:22 pm Eric Petersen wrote:
 Hey guys,

 I have a web/ftp server loaded with FreeBSD. This was done a couple
 of years back. Since then the person or persons that did the original
 install have gone out of business and cannot be found.

 Currently I have an issue logging into the ftp. I hooked a monitor up
 to the server and I'm getting filesystem full errors and since I
 don't have a password to get in I cannot have it fixed by someone
 that knows UNIX. I have made numerous attempts to contact the person
 that installed on a personal level. But I'm getting the impression he
 has moved with no forwarding.

 I you have need for more information I will supply it. I just don't
 know where to start. Our company's ftp is down and doesn't look like
 it will return anytime soon with out further assistance.

 Thank you for your time and have a great day.

 --
 Eric Petersen

 If you have physical access to the server, just reboot it in single user mode,
 and change the password. You might need to forcibly power it off. It is all
 covered in the handbook. If you don't have physical access,  I think you may
 be out of luck...


May be out of luck? I would hope he is totally out of luck without
physical access, if
you get my drift!

Hope you do have physical access Eric

Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


PASSWORD LOST!!

2010-02-08 Thread Eric Petersen

Hey guys,

I have a web/ftp server loaded with FreeBSD. This was done a couple  
of years back. Since then the person or persons that did the original  
install have gone out of business and cannot be found.


Currently I have an issue logging into the ftp. I hooked a monitor up  
to the server and I'm getting filesystem full errors and since I  
don't have a password to get in I cannot have it fixed by someone  
that knows UNIX. I have made numerous attempts to contact the person  
that installed on a personal level. But I'm getting the impression he  
has moved with no forwarding.


I you have need for more information I will supply it. I just don't  
know where to start. Our company's ftp is down and doesn't look like  
it will return anytime soon with out further assistance.


Thank you for your time and have a great day.

--
Eric Petersen
Pre-Press Technician
Anderson Brothers Printing Company
4525 41st Street
Sioux City, Iowa 51108
phone: 712.239.
fax: 712.239.3322
e-mail: er...@andersonbrothers.biz



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: PASSWORD LOST!!

2010-02-08 Thread Olivier Nicole
 I have a web/ftp server loaded with FreeBSD. This was done a couple  
 of years back. Since then the person or persons that did the original  
 install have gone out of business and cannot be found.

Have you tried booting in single user mode?

Olivier 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: PASSWORD LOST!!

2010-02-08 Thread J65nko
On Mon, Feb 8, 2010 at 7:53 PM, Eric Petersen
er...@andersonbrothers.biz wrote:
 Hey guys,

 I have a web/ftp server loaded with FreeBSD. This was done a couple of years
 back. Since then the person or persons that did the original install have
 gone out of business and cannot be found.

 Currently I have an issue logging into the ftp. I hooked a monitor up to the
 server and I'm getting filesystem full errors and since I don't have a
 password to get in I cannot have it fixed by someone that knows UNIX. I have
 made numerous attempts to contact the person that installed on a personal
 level. But I'm getting the impression he has moved with no forwarding.

 I you have need for more information I will supply it. I just don't know
 where to start. Our company's ftp is down and doesn't look like it will
 return anytime soon with out further assistance.

 Thank you for your time and have a great day.


Read 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#FORGOT-ROOT-PW
how to become root or the superuser.

It could be wise to hire somebody to fix the problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: PASSWORD LOST!!

2010-02-08 Thread Paul Schmehl
--On February 8, 2010 12:53:22 PM -0600 Eric Petersen 
er...@andersonbrothers.biz wrote:



Hey guys,

I have a web/ftp server loaded with FreeBSD. This was done a couple of
years back. Since then the person or persons that did the original
install have gone out of business and cannot be found.

Currently I have an issue logging into the ftp. I hooked a monitor up to
the server and I'm getting filesystem full errors and since I don't
have a password to get in I cannot have it fixed by someone that knows
UNIX. I have made numerous attempts to contact the person that installed
on a personal level. But I'm getting the impression he has moved with no
forwarding.



Without a password, you need physical access to the server in order to fix 
the problem.  It sounds like you have that, since you said you hooked up a 
monitor to it.


Here's the steps you can take to retrieve the password.

Shut the server down by hitting the power button.  Then turn it back on 
and watch the prompts when it's booting up.  Chose single user mode.  Then 
follow these steps:


# The system will print out Enter full pathname of shell or RETURN for 
/bin/sh:

# Hit enter to get a prompt
# Type fsck -p
# Type mount -a
# Type passwd
You'll be prompted for the password twice.  This is the root password, so 
it will give you full access to the system.
# Type exit to return to normal operation.  Write the password down and 
lock it up in the company safe.


Surely you have professional Unix support available in Sioux City?

Paul Schmehl, If it isn't already
obvious, my opinions are my own
and not those of my employer.
**
WARNING: Check the headers before replying

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Superuser password lost

2008-03-16 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Bill Moran
 Sent: Wednesday, March 12, 2008 6:15 PM
 To: freebsd-questions
 Subject: Re: Superuser password lost
 
 
 
 Apparently I miscommunicated.  My point was that the OP's message used
 the term superuser in an ambiguous way. (i.e. the way I mentioned).
 To me, it wasn't clear what it was asking for, and thus sending the OP
 to the PC-BSD community (where folks are probably familiar to the
 GUI widget he's dealing with) seemed the best thing to do.
 

Historically on all UNIXes superuser = the root user

The problem as I see it is that recently Apple (probably stole
this idea from someone else) has introduced ambiguity into the
term with the creation of what they call the owner account
into MacOS X.  With regular MacOS X there's some things that an
ordinary user can do, but when an ordinary user tries to do
some other things, MacOS X flashes up a dialog asking for the
owners password.  However, even if you su to root, there's still
things that the system will not let you do which is insane
because real UNIX will happily allow the root user to rm -r /
if desired.  Once more, proving that MacOS X is nothing more
than UNIX-on-training-wheels, and reaffirming what Apple's
historic view of it's customers really is (ie: dumb and dumber)

Microsoft also introduced ambiguity into the concept, although
to their credit, they scruplously avoided use of the term
superuser or root.  Under Microsoft operating systems,
there's ordinary users and there's administrators and you 
can have multiple administrators, which isn't possible in
UNIX - thus a MS administrator  a UNIX superuser.

I would suspect PC-BSD has copied the Apple nonsense and has
created this mutated account that's not quite a real superuser
account, and not quite a regular user account.

Ted
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Superuser password lost

2008-03-13 Thread Jerry McAllister
On Wed, Mar 12, 2008 at 10:14:32PM -0400, Bill Moran wrote:

 
 Because I don't think it's appropriate to drag this conversation on
 and on, I'm going to try to answer all the responses in a single
 email.
 
 Jerry McAllister [EMAIL PROTECTED] wrote:
 
  On Wed, Mar 12, 2008 at 11:27:36AM -0400, Bill Moran wrote:
  
 [snip]
   
   No.  The term superuser is a made-up term for any way of gaining
   root privs.  In my experience it's confusing as there are two
   commonly used methods for doing this, the su command and sudo, and
   they require different passwords.
  
  I have never seen the term used that way.
  
  I have seen su and sudo referred to as ways of a non-root id gaining 
  superuser priviledge/root priviledge but not a superuser as someone who 
  is not root, but has a method of gaining root priviledge.
 
 Apparently I miscommunicated.  My point was that the OP's message used
 the term superuser in an ambiguous way. (i.e. the way I mentioned).
 To me, it wasn't clear what it was asking for, and thus sending the OP
 to the PC-BSD community (where folks are probably familiar to the
 GUI widget he's dealing with) seemed the best thing to do.

I don't really care, but when I read the OP, I believed he was
looking for root from what was presented and so that was how I
responded.   The rest is just small talk.But, asking the PC-BSD
folk is not a bad idea.

jerry

 ...
 ...

 
 Alex Zbyslaw [EMAIL PROTECTED] wrote:
  
  I'd contend that the su manpage *should* say root not superuser, since 
  root is hardwired as the default.  But for other cases, any user with 
  UID 0 might work just as well (e.g. toor).
 
 I agree on this point, but not enough to bother trying to put a patch
 together that (based on the conversation here) is likely to be
 controversial.
 
 -- 
 Bill Moran
 http://www.potentialtech.com
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Superuser password lost [SOLVED]

2008-03-13 Thread Luigi

Ok thank you very much it works

Luigi

Kris Moore a écrit :


Luigi,

Normally you can't just look-up the password, however you can reset 
it if you like. To reset, use this procedure:


1. Boot the system
2. At the splash loader screen, choose option 4 single user mode
3. When it drops you to a boot prompt, hit enter, then type in:
   # mount -o rw /
4. Next enter the password change command:
   # passwd
5. Change your password, and then type:
   # exit

That should be it!



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Superuser password lost

2008-03-12 Thread Luigi

Hi all,

Maybe it's a simple question but i'm a newbie lost in my new BSDworld.

I've installed PC-BSD but when I want to install a software, It ask me a 
superuser password.

I think I lost this password. How can I retrieve this superuser password ?

Thanks

Luigi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Superuser password lost

2008-03-12 Thread Bill Moran
In response to Luigi [EMAIL PROTECTED]:

 Hi all,
 
 Maybe it's a simple question but i'm a newbie lost in my new BSDworld.
 
 I've installed PC-BSD but when I want to install a software, It ask me a 
 superuser password.
 I think I lost this password. How can I retrieve this superuser password ?

This is a PC-BSD-specific question.  There is no such thing as the
superuser ... it's a colloquialism frequently used by folks to make
things sound cooler (or for some other reason I don't understand)

PC-BSD has several community lists, including a support list.  Have
you tried asking there?:
http://www.pcbsd.org/content/view/22/29/

-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Superuser password lost

2008-03-12 Thread Luigi

Thanks to all.

I'll try it.

Luigi


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Superuser password lost

2008-03-12 Thread Ivailo Tanusheff
Is this the root password of the system or something else?

Regards,
Ivailo Tanusheff




Luigi [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
12.03.2008 14:59
Please respond to
[EMAIL PROTECTED]


To
freebsd-questions freebsd-questions@freebsd.org
cc

Subject
Superuser password lost






Hi all,

Maybe it's a simple question but i'm a newbie lost in my new BSDworld.

I've installed PC-BSD but when I want to install a software, It ask me a 
superuser password.
I think I lost this password. How can I retrieve this superuser password ?

Thanks

Luigi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Superuser password lost

2008-03-12 Thread Luigi

Yes I think it is the root password of the system.


Ivailo Tanusheff a écrit :

Is this the root password of the system or something else?

Regards,
Ivailo Tanusheff




Luigi [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]

12.03.2008 14:59
Please respond to
[EMAIL PROTECTED]


To
freebsd-questions freebsd-questions@freebsd.org
cc

Subject
Superuser password lost






Hi all,

Maybe it's a simple question but i'm a newbie lost in my new BSDworld.

I've installed PC-BSD but when I want to install a software, It ask me a 
superuser password.

I think I lost this password. How can I retrieve this superuser password ?

Thanks

Luigi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Superuser password lost

2008-03-12 Thread Jerry McAllister
On Wed, Mar 12, 2008 at 09:52:38AM -0400, Bill Moran wrote:

 In response to Luigi [EMAIL PROTECTED]:
 
  Hi all,
  
  Maybe it's a simple question but i'm a newbie lost in my new BSDworld.
  
  I've installed PC-BSD but when I want to install a software, It ask me a 
  superuser password.
  I think I lost this password. How can I retrieve this superuser password ?
 
 This is a PC-BSD-specific question.  There is no such thing as the
 superuser ... it's a colloquialism frequently used by folks to make
 things sound cooler (or for some other reason I don't understand)

I don't understand this response.   Superuser is just another
name for the root user which is any user id with a UID of 0.

I haven't used PC-BSD flavor, but in general, with BSDs you force
them to boot - by killing power if necessary, but a clean shutdown
is better (but that usually requires root).

Then, while it is booting, make it boot to 'single user' mode.
At that point, at the console, you are root.
Clean up a little
  fsck -p
  mount -u /
  mount -a
  swapon -a

Then just set a password for root  ---  and don't forget it.

  passwd root
follow the prompts

If PC-BSD doesn't let you boot to single user, then you will
need to use an installation CD to get to the point you can
write to the passwd and master.passwd files.

jerry

 
 PC-BSD has several community lists, including a support list.  Have
 you tried asking there?:
 http://www.pcbsd.org/content/view/22/29/
 
 -- 
 Bill Moran
 http://www.potentialtech.com
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Superuser password lost

2008-03-12 Thread Bill Moran
In response to Jerry McAllister [EMAIL PROTECTED]:

 On Wed, Mar 12, 2008 at 09:52:38AM -0400, Bill Moran wrote:
 
  In response to Luigi [EMAIL PROTECTED]:
  
   Hi all,
   
   Maybe it's a simple question but i'm a newbie lost in my new BSDworld.
   
   I've installed PC-BSD but when I want to install a software, It ask me a 
   superuser password.
   I think I lost this password. How can I retrieve this superuser password ?
  
  This is a PC-BSD-specific question.  There is no such thing as the
  superuser ... it's a colloquialism frequently used by folks to make
  things sound cooler (or for some other reason I don't understand)
 
 I don't understand this response.   Superuser is just another
 name for the root user which is any user id with a UID of 0.

No.  The term superuser is a made-up term for any way of gaining
root privs.  In my experience it's confusing as there are two
commonly used methods for doing this, the su command and sudo, and
they require different passwords.

Frankly, I don't know whether PC-BSD is asking for the root password
or asking for him to confirm _his_ password for use in a sudo-like
operation.  I don't know of anywhere in the FreeBSD base system
that the term superuser is used, so I assume he'll get a more
direct answer from the PC-BSD folks.

 I haven't used PC-BSD flavor, but in general, with BSDs you force
 them to boot - by killing power if necessary, but a clean shutdown
 is better (but that usually requires root).

The instructions you give are only correct if it's the root
password he lost.  It's likely you're right and this will get him
up and running again, but I didn't know that for sure and didn't want
to lead him down a bunch of steps only to find out that it was asking
for something different.

I was curious about the PC-BSD community and checked their web site.
Based on what I saw, the best advice to me seemed to be to direct him
to them.

-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Superuser password lost

2008-03-12 Thread Jerry McAllister
On Wed, Mar 12, 2008 at 11:27:36AM -0400, Bill Moran wrote:

 In response to Jerry McAllister [EMAIL PROTECTED]:
 
  On Wed, Mar 12, 2008 at 09:52:38AM -0400, Bill Moran wrote:
  
   In response to Luigi [EMAIL PROTECTED]:
   
Hi all,

Maybe it's a simple question but i'm a newbie lost in my new BSDworld.

I've installed PC-BSD but when I want to install a software, It ask me 
a 
superuser password.
I think I lost this password. How can I retrieve this superuser 
password ?
   
   This is a PC-BSD-specific question.  There is no such thing as the
   superuser ... it's a colloquialism frequently used by folks to make
   things sound cooler (or for some other reason I don't understand)
  
  I don't understand this response.   Superuser is just another
  name for the root user which is any user id with a UID of 0.
 
 No.  The term superuser is a made-up term for any way of gaining
 root privs.  In my experience it's confusing as there are two
 commonly used methods for doing this, the su command and sudo, and
 they require different passwords.

I have never seen the term used that way.

I have seen su and sudo referred to as ways of a non-root id gaining 
superuser priviledge/root priviledge but not a superuser as someone who 
is not root, but has a method of gaining root priviledge.

Anyway, the OP sounds mostly like root is what was needed.

jerry



 
 Frankly, I don't know whether PC-BSD is asking for the root password
 or asking for him to confirm _his_ password for use in a sudo-like
 operation.  I don't know of anywhere in the FreeBSD base system
 that the term superuser is used, so I assume he'll get a more
 direct answer from the PC-BSD folks.
 
  I haven't used PC-BSD flavor, but in general, with BSDs you force
  them to boot - by killing power if necessary, but a clean shutdown
  is better (but that usually requires root).
 
 The instructions you give are only correct if it's the root
 password he lost.  It's likely you're right and this will get him
 up and running again, but I didn't know that for sure and didn't want
 to lead him down a bunch of steps only to find out that it was asking
 for something different.
 
 I was curious about the PC-BSD community and checked their web site.
 Based on what I saw, the best advice to me seemed to be to direct him
 to them.
 
 -- 
 Bill Moran
 http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Superuser password lost

2008-03-12 Thread Erik Trulsson
On Wed, Mar 12, 2008 at 11:27:36AM -0400, Bill Moran wrote:
 In response to Jerry McAllister [EMAIL PROTECTED]:
 
  On Wed, Mar 12, 2008 at 09:52:38AM -0400, Bill Moran wrote:
  
   In response to Luigi [EMAIL PROTECTED]:
   
Hi all,

Maybe it's a simple question but i'm a newbie lost in my new BSDworld.

I've installed PC-BSD but when I want to install a software, It ask me 
a 
superuser password.
I think I lost this password. How can I retrieve this superuser 
password ?
   
   This is a PC-BSD-specific question.  There is no such thing as the
   superuser ... it's a colloquialism frequently used by folks to make
   things sound cooler (or for some other reason I don't understand)
  
  I don't understand this response.   Superuser is just another
  name for the root user which is any user id with a UID of 0.
 
 No.  The term superuser is a made-up term for any way of gaining
 root privs.

Wrong.  superuser is, just as the previous poster said, a synonym
for root, i.e. a user account with UID=0

See for example  http://en.wikipedia.org/wiki/Superuser
or  http://catb.org/jargon/html/S/superuser.html





-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Superuser password lost

2008-03-12 Thread Alex Zbyslaw

Bill Moran wrote:


I don't know of anywhere in the FreeBSD base system
that the term superuser is used, so I assume he'll get a more
direct answer from the PC-BSD folks.
 

Hate to be picky, because I'd agree with most everything else you wrote, 
but superuser, and its synonym super-user, do appear in many base man 
pages, for example the su page shown below.  Sometimes it's a shortcut 
for root (or other UID 0 user), like below in su, sometimes just for 
effective UID 0 in general, for example as in mount(8).


 The su utility requests appropriate user credentials via PAM and 
switches

 to that user ID (the default user is the superuser).  A shell is then
 executed.


I'd contend that the su manpage *should* say root not superuser, since 
root is hardwired as the default.  But for other cases, any user with 
UID 0 might work just as well (e.g. toor).


--Alex

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Superuser password lost

2008-03-12 Thread Mel
On Wednesday 12 March 2008 16:27:36 Bill Moran wrote:

 I don't know of anywhere in the FreeBSD base system
 that the term superuser is used

In the kernel even!
suser(9), suser_cred(9), vfs_suser(9)

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Superuser password lost

2008-03-12 Thread FreeBSD


On 12 mrt 2008, at 19:26, Mel wrote:


On Wednesday 12 March 2008 16:27:36 Bill Moran wrote:


I don't know of anywhere in the FreeBSD base system
that the term superuser is used


In the kernel even!
suser(9), suser_cred(9), vfs_suser(9)



Have you had a look at 'man su' ?

Arno
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Superuser password lost

2008-03-12 Thread Bill Moran

Because I don't think it's appropriate to drag this conversation on
and on, I'm going to try to answer all the responses in a single
email.

Jerry McAllister [EMAIL PROTECTED] wrote:

 On Wed, Mar 12, 2008 at 11:27:36AM -0400, Bill Moran wrote:
 
[snip]
  
  No.  The term superuser is a made-up term for any way of gaining
  root privs.  In my experience it's confusing as there are two
  commonly used methods for doing this, the su command and sudo, and
  they require different passwords.
 
 I have never seen the term used that way.
 
 I have seen su and sudo referred to as ways of a non-root id gaining 
 superuser priviledge/root priviledge but not a superuser as someone who 
 is not root, but has a method of gaining root priviledge.

Apparently I miscommunicated.  My point was that the OP's message used
the term superuser in an ambiguous way. (i.e. the way I mentioned).
To me, it wasn't clear what it was asking for, and thus sending the OP
to the PC-BSD community (where folks are probably familiar to the
GUI widget he's dealing with) seemed the best thing to do.

Erik Trulsson [EMAIL PROTECTED] wrote:

 On Wed, Mar 12, 2008 at 11:27:36AM -0400, Bill Moran wrote:
[snip]
  
  No.  The term superuser is a made-up term for any way of gaining
  root privs.
 
 Wrong.  superuser is, just as the previous poster said, a synonym
 for root, i.e. a user account with UID=0
 
 See for example  http://en.wikipedia.org/wiki/Superuser
 or  http://catb.org/jargon/html/S/superuser.html

Who am I to argue with wikipedia?  But the second link you provide
does not agree with your explanation.  According to The Jargon File,
my wmoran account is a superuser, because it's a member of the wheel
group.

Thus, my argument that the term is ambiguous, which (based on the
links you provided) you seem to be backing up.

Alex Zbyslaw [EMAIL PROTECTED] wrote:
 Hate to be picky, because I'd agree with most everything else you wrote, 
 but superuser, and its synonym super-user, do appear in many base man 
 pages, for example the su page shown below.  Sometimes it's a shortcut 
 for root (or other UID 0 user), like below in su, sometimes just for 
 effective UID 0 in general, for example as in mount(8).
 
   The su utility requests appropriate user credentials via PAM and 
  switches
   to that user ID (the default user is the superuser).  A shell is then
   executed.

Mel [EMAIL PROTECTED] wrote:
 
 In the kernel even!
 suser(9), suser_cred(9), vfs_suser(9)

OK, I was wrong on this point.

Alex Zbyslaw [EMAIL PROTECTED] wrote:
 
 I'd contend that the su manpage *should* say root not superuser, since 
 root is hardwired as the default.  But for other cases, any user with 
 UID 0 might work just as well (e.g. toor).

I agree on this point, but not enough to bother trying to put a patch
together that (based on the conversation here) is likely to be
controversial.

-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd root password lost

2003-10-07 Thread DanB
Is there other way to change the root password that been lost without
shutting down the computer.

Old way shutdown space barboot -s  #mount  -t ufs -a
#passwd
# exit to multiusers.


Dan



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd root password lost

2003-10-07 Thread Ion-Mihai Tetcu
On Tue, 07 Oct 2003 19:49:32 +
DanB [EMAIL PROTECTED] wrote:

 Is there other way to change the root password that been lost
 without shutting down the computer.

Take a look at:
Dru's Cracking Passwords to Enhance Security
http://www.onlamp.com/pub/a/bsd/2001/01/24/FreeBSD_Basics.html
It might work.

(
UNtested:
/var/backups/master.passwd.bak
should contain the old passwords and, with
pwd_mkdb master.passwd.bak should regenerate the old password databases.
But first backup and READ
PWD_MKDB(8)

)


-- 
IOnut
FreeBSD unregistered ;) user
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]