How do I change a user's password in a Linux System?  (I'm using Debian)

Posted on 2006-05-07
Last Modified: 2013-12-16
Hello.  I am a newbie to the Linux OS.  What is the command to change a user's password?
Question by:llvllar1on
    LVL 12

    Expert Comment

    'passwd username' should be the command to change the password
    LVL 12

    Accepted Solution

    oh forgot you should  login as root or using su - if you want to change other users password, if only your own password 'passwd' will do.

    man passwd will give you more detail in the command windows

    Featured Post

    Gigs: Get Your Project Delivered by an Expert

    Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Cron jobs 12 69
    AWS linux AMI 3 44
    Access Required to Read Linux Security Settings and User Permissions 13 66
    Mail relay on Centos 1 35
    Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
    Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now