LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-10-2009, 12:11 AM   #1
jcafaro10
LQ Newbie
 
Registered: Apr 2009
Posts: 25

Rep: Reputation: 15
Default password?


Is there a default password for linux if you don't specify one? I'm messing around with my virutal machines and added a user to /etc/passwd but I can't rsh or ssh because I don't have a password.
 
Old 04-10-2009, 12:30 AM   #2
grepmasterd
Member
 
Registered: Aug 2003
Location: Seattle
Distribution: ubuntu, lately
Posts: 182
Blog Entries: 1

Rep: Reputation: 35
nope -- is there a default passwd for windows?

if you altered /etc/passwd then you obviously have root access. as root, just type

Code:
passwd usera
(assuming "usera" is the new user name you added.)

better yet, remove the entry you hacked into the passwd file and use the frontend tools for adding users. Depending on your distro, see adduser, useradd, deluser, userdel. These tools do the same thing with varying levels of user-friendliness.
 
Old 04-10-2009, 07:34 PM   #3
bertandrews
LQ Newbie
 
Registered: Mar 2009
Posts: 8

Rep: Reputation: 0
default passwd

try using:

sudo passwd root
enter your passwd
enter the new root passwd


login root
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Default Samba Password? jim.stanley Linux - Networking 4 12-17-2007 09:09 AM
default root password tuxmanfromindia Ubuntu 4 10-12-2005 01:52 PM
default password tvsskumar Linux - General 2 09-21-2004 08:48 PM
Default root password thejazzman Linare 4 09-17-2004 02:46 PM
Default password or login lesthanjakejohn Red Hat 1 02-23-2004 08:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:53 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