Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-21-2004, 07:46 PM   #1
LQ Newbie
Registered: Jun 2004
Location: madurai
Distribution: Red hat Linux
Posts: 4

Rep: Reputation: 0
default password

hai frineds,
i am using redhat linux 9,i have one small doubt.whenever root create some user it will allocate default password for that user,what are this passwd,how we can find it?similarly,when we install db like postgresql,mysql the same is we can find out this password.
Old 09-21-2004, 08:41 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
I don't know of any distro that applies a default
password ... how do you create the users?

I can't say much for MySQL ... but PostgreSQL
by default doesn't use passwords. You can
add one later if you missed it during creation
by "alter user with encrypted password 'pick_your_password'"

Old 09-21-2004, 08:48 PM   #3
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
Usually these users are created with an invalid password field in the /etc/shadow file (i.e ! or *). This is to stop them being able to log in directly (it would be a security risk if they used a default password, and no-one wants to be prompted to enter passwords for all the different users created during an install).

If you want to set a password for these users you can, but it's probably better not to - what are you trying to accomplish? There may be a better way.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Default Mandrake 10.1 password DJCyber Linux - Newbie 3 01-23-2005 08:40 PM
Default root password thejazzman Linare 4 09-17-2004 02:46 PM
default root password shanenin Linux - Software 0 09-07-2004 09:27 AM
Is there a default password after first install? AKA Ryan Linux - Newbie 1 05-05-2004 10:33 AM
Default password or login lesthanjakejohn Red Hat 1 02-23-2004 08:00 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:14 PM.

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