Laptops Under 200

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Thursday, 16 June 2011

How to Delete User Account Passwords using Command-Line in GNU/Linux?

Posted on 09:03 by Unknown
Although these days the GNU/Linux operating system is a very user-friendly one thanks to the easy to use GUI (graphical user interfaces) which are usually created using both GTK and Qt toolkits. But as everyone knows, the true power of GNU/Linux lies in the "shell" or the command-line "interface" where you have the ability to execute commands using nothing but your keyboard.

The reason for this "behavior" is actually quite simple. It's because in the early days GNU/Linux was created by + for advanced PC users such as "ethical hackers" (the good fellas :P), programmers and system administrative type individuals.

This has both good and bad aspects but as said before those days are pretty much "over", for the average user. Although the GNU/Linux shell (came from Unix) or the command-line is still heavily in use...

Anyhow, one of the advantageous of using a shell command instead of a GUI is that, depending on the need, the shell command can do the same many times quicker than the GUI counterpart (not always true though).

This is because, one of the main issues that programmers usually confronted while creating GUI programs is the levels of "distractions" they create because of their nature (you know, they are more attractive than ugly command-line ones :D).

So, if you wanted to delete/disable a user account's password in GNU/Linux (say Ubuntu in this example) then you can use the built in GUI tools but as mentioned above, by using the command for that exact purpose in the "Terminal" window, you can achieve the same task, much more quicker!.

What is the use of this command anyway?

Well, let's say that you have a shared Linux computer (by your family, more than a single account) and someone couldn't remember their password and asked you to complete delete it so he/she can add a new one later.

In that case, you can log-in to your admin account and use the "standard" GUI tool OR, do that by using a single command which is quite fast as mentioned before + most importantly, you should use "opportunities" like these to showoff and let them know that you're in charge :P.

Sounds good Gayan, Lets do that!...

For this example I'm using my own beautiful other name :P "sameera". Now remember, GNU/Linux is a case sensitive operating system + when it comes to a user account, there are two main types.

*. The "actual" user name.

*. The "display" name.


For instance, I can enter "SAMEERA" or "SaMeeRA" as the display name, but the OS will automatically convert it to "sameera" (lower case - only), which is the actual user-name, because in GNU/Linux, user accounts are only kept in lower-case letters.

So, make sure to use the "actual" user name with the following command, not the display name.

1. Open your Terminal and enter the below command. Replace the text "name" with your actual user account name.
    sudo passwd -d name

That's it dudes!. Pretty simple stuff right?.

Also, as long as you remember the "sudo" password, you can even delete the default "sudo" attached user account (default admin) in Ubuntu (which is the first user account that you create while installing the OS).

To do that just use the the above command and replace the "name" with that defalut user account which holds the administrative privileges. But remember, if you do that, it raises security concerns since the apps that needs root privilages can now run freely (not all of them, but most).

So don't do that. You can add a new password for that admin account by using the below command afterward.
passwd name

Again, replace the name with that default account you created while installing Ubuntu and it'll ask for a new password and follow the on screen details. Once logged in to their accounts, other users can also use that command to change/add a new password, to their accounts as well.

You can read more about this Unix command-line which is called "passwd" by entering the below command which should open the manual. Enjoy.
    man passwd
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in commands, linux | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • How to Install "The Board" in Ubuntu? (GTK+ written dedicated Digital Diary)
    If you frequently use your computer for hours and hours daily... then even after installing cool theme and other stuff to make the desktop l...
  • traGtor - ffmpeg Encoder GUI for GNU/Linux (one of the best!)
    I maybe wrong on this one but I think the origin of the Qt written KDE desktop actually comes from the German programmers. But the point is ...
  • Install Gdiskdump in Ubuntu 11.04 - An Easy To Use Disk Cloning Tool for GNU/Linux!
    Although for Microsoft Windows there are several excellent commercial and free applications available yet with GNU/Linux when it comes to di...
  • Install GPRename in Ubuntu - Renaming Multiple Files/Folders Made Ease!
    If you have a large number of files or folders to be renamed, then doing them all by hand is a daunting task. That's where the batch/mas...
  • Install Agave in Ubuntu - Excellent Color Palettes Creator for GNU/Linux!
    I think anyone would agree on the fact that both colors and our emotions (buggers... control our lives one way or the other :P) are bound to...
  • How to Access Few "Advanced Preferences" Settings in Nautilus File Manager?
    Nautilus is the default file management utility in Gnome desktop environment (which is also shared by the Ubuntu Unity as well). Although ...
  • How to Build a New Computer under $200
    This article will present a brief tutorial explaining how to repair or build a Windows PC. More instruction will be added as time permits. B...
  • GDM Tweaker - A Tool For Changing GDM Background/Theme Easily
    Although Ubuntu decided to drop GDM from the future releases still with Ubuntu, setting up your GDM screen is almost impossible (you know c...
  • How to Install DumpHD (HD-DVD/Blu-ray Decryptor) in Ubuntu?
    Although as far as I know, HD-DVD format is no longer supported... nor any new movies are released using that technology and slowly the riva...
  • DejaDup - A Simple Backup Tool for GNU/Linux
    Unlike many other occasions when doing things such as taking local/remote backups or benchmark testing, etc in GNU/Linux operating system, t...

Categories

  • 11.04 natty narwhal
  • 11.10
  • 3d rendering
  • addons
  • address books
  • adobe
  • adobe flash
  • adobe flash player
  • amarok
  • amarok for windows
  • andorid
  • android
  • android applications
  • android apps
  • android phones
  • android tablets
  • app launchers
  • apple
  • applets
  • application indicator
  • applications
  • applications for windows
  • archive managers
  • arios
  • art
  • arts
  • asus
  • asus eee pc
  • ati
  • ati catalyst
  • audio
  • audio converts
  • audio editors
  • audio encoders
  • audio players
  • audio tag editing
  • audio utilities
  • ayatana scrollbars
  • backup
  • backup tools
  • banners
  • batter saver
  • battery calibration
  • benchmark testing
  • bittorrent
  • bittorrent clients
  • blogger
  • blogger news
  • blogger platform
  • blogging
  • blogging tips
  • blogging utilities
  • blu-ray
  • boot loaders
  • BSOD
  • business card creator
  • Canonical
  • cd/dvd burners
  • chat clients
  • checksum checker
  • chrome
  • chrome addons
  • chrome os
  • chromium
  • clamav
  • cloud computing
  • cloud comupting
  • cloud storage
  • clutter
  • collaborative editor
  • command line
  • commands
  • community
  • compiz
  • computer repair
  • computers
  • cross-platform
  • data backup
  • data encrption
  • desklets
  • desktop environments
  • digital audio workstation
  • disk cloning
  • disk drive erasers
  • disk image burning
  • disk images
  • disk partition editors
  • display managers
  • distributions
  • docks
  • download managers
  • drawing tools
  • drivers
  • driving lessons
  • dropbox
  • dvd authoring
  • dvd backup
  • dvd creator
  • e-book managers
  • e-mail
  • e-mail clients
  • e-mails
  • eee pc
  • elementary os
  • email clients
  • emails
  • encoding
  • encorders
  • experiences
  • facebook
  • fedora
  • fedora core
  • fedora core 15
  • fedora core learn
  • feed readers
  • file management tools
  • file managers
  • file manegers
  • file recovering
  • file splitters
  • file systems
  • filesystems
  • finance
  • firefox
  • firefox 5
  • firefox 6
  • firefox addons
  • firefox5
  • firmware utilities
  • flash videos
  • flickr
  • fonts
  • frustrations
  • fun
  • gadgets
  • GDM
  • gentoo
  • gimp
  • gmail
  • Gnome
  • gnome 3 shell theme
  • gnome 3.2
  • gnome applications
  • gnome desktop
  • gnome shell
  • gnome3
  • gnu
  • gnu emacs
  • gnu-linux
  • gnu-linux distributions
  • goober
  • google
  • google chrome
  • google chrome extensions
  • google maps
  • GPU
  • graphic design
  • graphic utilities
  • grey screen of death
  • grub editors
  • gtk
  • gtk applications
  • gtk themes
  • gtk3
  • gtk3 themes
  • hardware monitors
  • hdd clone tools
  • hdd tools
  • health
  • hobbies
  • html5
  • icons
  • ideas
  • im clients
  • iMac computer repair
  • iMac error
  • image editiors
  • image organizers
  • image resizers
  • image utilities
  • image viewers
  • iphone
  • itunes
  • java
  • journal applications
  • kde
  • kde 4.6
  • kde applications
  • kde-qt
  • kernel
  • kubuntu
  • kubuntu 11.04
  • laptops
  • learn
  • learn linux
  • legal
  • libre office
  • life
  • lightdm
  • linux
  • Linux distributions
  • linux keyboards
  • linux mint
  • linux multimedia players
  • linux music players
  • loco teams
  • logmein
  • lubuntu
  • lxde vs xfce
  • mac osx
  • mandriva
  • media players
  • metacity
  • microsoft windows
  • mounting
  • mplayer
  • ms windows
  • multi-touch gestures
  • multimedia
  • multimedia codecs
  • multimedia converters
  • multimedia players
  • multimedia utilities
  • music players
  • mypaint
  • natty narwhal
  • nautilus
  • nautilus scripts
  • nautilus tips
  • netbooks
  • netbooks under 200-250
  • network monitoring
  • networking
  • news
  • nokia phone suite
  • note taking
  • ntfs
  • nvidia
  • office productivity suits
  • office suits
  • oneiric ocelot 11.10
  • online radio
  • online storage
  • open source
  • open-source
  • opensource
  • opensuse
  • operating systems
  • optical disk burners
  • optical disks
  • optimizations
  • package managers
  • painting tools
  • parent control
  • password generators
  • password managers
  • pdf editors
  • pdf readers
  • pdf tools
  • pim software
  • pinguy os
  • plasma
  • plugins
  • portable
  • portable applications
  • portable laptops
  • privacy
  • professional video editors
  • programming tools
  • project management software
  • proprietary drivers
  • python applications
  • qt
  • qt applications
  • qt4
  • registry cleaner
  • remote access
  • remote desktop access
  • reviews
  • roboform
  • rom flashing
  • rss readers
  • satellite trackers
  • scanning tools
  • screen recorders
  • screenshot taker
  • scripts
  • search engines
  • security
  • shell extensions
  • shell themes
  • skype
  • smart phones
  • software
  • software emulators
  • sound servers
  • source code editor
  • stack exchange
  • startup managers
  • stock market
  • swimming
  • system cleaner
  • system information
  • system monitors
  • tablet pcs
  • tablets
  • task killers
  • tech help
  • tech news
  • tech tips
  • technology
  • terminal emulators
  • text editors
  • text translators
  • themes
  • thunar
  • thunderbir
  • thunderbird5
  • tips
  • transformation packs
  • tutorials
  • tweaks
  • twitter
  • ubunt
  • ubuntu
  • ubuntu 11.10
  • ubuntu 11.10 alpha 3
  • ubuntu derivatives
  • ubuntu derrivatives
  • ubuntu minimal install
  • ubuntu netbooks
  • ubuntu news
  • ubuntu one
  • ubuntu tablet
  • ultrabooks
  • unity 2d
  • unity desktop
  • unity desktop apps
  • usb
  • utilities
  • vector graphics
  • video editors
  • video utilities
  • videos
  • virtualbox
  • virtualization
  • virus scanners
  • vlc
  • voip
  • wallpaper contest
  • wallpapers
  • weather apps
  • web browser addons
  • web browsers
  • webcam
  • weight loss
  • weird
  • widgets
  • window managers
  • windows
  • wine
  • xml editors
  • xubuntu
  • youtube

Blog Archive

  • ►  2012 (7)
    • ►  August (2)
    • ►  June (1)
    • ►  May (3)
    • ►  January (1)
  • ▼  2011 (515)
    • ►  December (3)
    • ►  November (1)
    • ►  October (16)
    • ►  September (57)
    • ►  August (59)
    • ►  July (81)
    • ▼  June (112)
      • Mandriva Linux 2011 RC1 Disk Images are Available ...
      • How to Install Virtualbox 4.0.10 in Ubuntu 11.04/1...
      • Wanna an Oxygen KDE Theme for Your Firefox Web Bro...
      • Ubuntu One Files - The Official Android App for Ub...
      • Vagalume - The Last.fm Music Client GUI (GTK+) for...
      • How To Install Nvidia 275.09.07 Driver in Ubuntu 1...
      • traGtor - ffmpeg Encoder GUI for GNU/Linux (one of...
      • How To Install Instantbird (IM Client) in Ubuntu 1...
      • The Importance of Running Applications Using Comma...
      • Canonical Store Launches a Neoprene Laptop Sleeve!
      • How to Install Orta Theme Pack in Ubuntu 11.04 Nat...
      • How to Install Parole in Ubuntu (a GTK+ Written Me...
      • "We're Done With Linux", Says Nokia
      • Muon Suite 1.2 Beta 2 is Out (Qt Written Package M...
      • How to Install Firefox 5 in Ubuntu 10.04 and 10.10 ?
      • paprefs - An App to Configure PulseAudio Preferenc...
      • Install CPU-Fire Applet in Ubuntu 11.04 Natty Narwhal
      • Ekoore - The Ubuntu Linux 11.04 Powered Tablet PC ...
      • How to Make Gnome Desktop Automatically Change the...
      • DeVeDe - An Excellent DVD/SVCD/Divx Video Disk Cre...
      • How to Install Geeqie (Image Viewer) in Ubuntu Lin...
      • No More Synaptic (package manager) in Ubuntu Linux...
      • How to Install Gnome Mplayer in Ubuntu 11.04 Natty...
      • DejaDup - A Simple Backup Tool for GNU/Linux
      • Linux : Fedora 16 Might Switch to Btrfs File System
      • "Canonical Might Replace Firefox with Google's Chr...
      • The Excellent Linux Tablet PC - Called, "WeTab"!
      • How to Disable "Feedback" Button in Firefox 5?
      • "Multisystem" - Run Multiple GNU/Linux Operating S...
      • Install Tomboy-Pastebinit in Ubuntu - Sharing "e-n...
      • Install FAAC in Ubuntu 11.04 - AAC Audio Encoder f...
      • Wipe - Secure File Delete Application for GNU/Linux
      • CoolPreviews - Excellent Web Page Previewing Add-o...
      • How to Install Firefox 5 in Ubuntu 11.04 Natty Nar...
      • Notepad++ - A GNU Licensed, Source Code Editor for...
      • How to Update to the Latest Unity Desktop Version ...
      • Shrinkta - Backup DVD to hard drive Application, f...
      • Introducing Prerendering Technology into Google's ...
      • Wanna Install Firefox 5 in Ubuntu Linux 11.04 (tes...
      • Gaupol - A Video Subtitle Editor for GNU/Linux!
      • Install OggConvert in Ubuntu - A Theora Video Conv...
      • Install LiVES in Ubuntu 11.04 Natty Narwhal (a Vid...
      • How to Install ATI/AMD Catalyst Linux Driver 11.6 ...
      • How to Remove Nautilus Thumbnail Cache Folder in G...
      • Battery Calibration - An App for Android Mobile Ph...
      • Install Nanny in Ubuntu - A Parent Control System ...
      • How To Install Gparted in Ubuntu 11.04 (a disk Par...
      • Silicon Empire - An Excellent Qt Written Optical D...
      • Install Gpredict in Ubuntu (a Satellite Tracking S...
      • "Blog This" - Pretty Useful Browser Add-on for Goo...
      • Install "GConf Cleaner" in Ubuntu Linux (A "Regist...
      • How to Speed Up Video Thumbnail Previewing Times i...
      • Ubuntu Linux Powered Steampunk Laptop (Pre-order, ...
      • How to Delete User Account Passwords using Command...
      • Install MP3 Diags in Ubuntu 11.04 (Corrupted MP3 H...
      • How to Install gLabels in Ubuntu? (a Business Card...
      • How to Install F-Spot in Ubuntu Linux 10.10 and 11...
      • Install CameraMonitor in Ubuntu Linux (Notificatio...
      • How To Install Inkscape in Ubuntu Linux? (a Vector...
      • How to Install Acidrip in Ubuntu - The Best DVDRip...
      • Install Indicator Workspaces in Ubuntu 11.04 Natty...
      • Install MP3Splt in Ubuntu 11.04 Natty Narwhal ( A ...
      • How to Install Gimmix Music Player in Ubuntu Linux?
      • How To Install Ubuntu One Indicator Applet in Ubun...
      • How To Install Amarok in Ubuntu 11.04 Natty Narwhal ?
      • An Ubuntu 11.10 Oneiric Varsity Wallpaper from the...
      • How to Install Dragon Player (Written in Qt) in Ub...
      • How To Install SysPeek System Monitor Indicator in...
      • "Ubuntu Forever, Ubuntu No Limits!" - A Cool Wallp...
      • How To Install VLC 1.1.10 in Ubuntu 11.04 Natty Na...
      • MintLiner - A Beautiful Greeny GTK3 Theme for Gnom...
      • How to Install Conky in Ubuntu 11.04 Natty Narwhal?
      • How to Install Lame and Sound-Converter (GUI) in U...
      • Asus UX21 - An Impressively Thinner Yet A Powerful...
      • How To Install/Upgrade KDE 4.6.4 in Kubuntu 11.04 ...
      • Install the Qt Written k3b CD Kreator in Ubuntu 11...
      • How to Install Thunderbird 5 (beta) in Ubuntu 11.0...
      • How To Install Google Chrome 12 (stable) in Ubuntu...
      • How to Install Yakito in Ubuntu 11.04 Natty Narwha...
      • How to Install SMPlayer in Ubuntu 11.04 Natty Narw...
      • How to Install gthumb in Ubuntu (11.04/10.10 and 1...
      • Changing Your Favicon Within the Dashboard is Fina...
      • How to Install easyMP3Gain in Ubuntu?
      • How To Install MPlayer in Fedora Core 15?
      • How to Install Chromium 12 in Ubuntu (11.04, 10.04...
      • Install the Indicator-Forceclose Applet in Ubuntu ...
      • How To Permanently Delete Your Facebook Account?
      • Install Dropbox in Ubuntu
      • How To Install NTFS-Config in Ubuntu 11.04 Natty N...
      • VideoCatcher - A Qt Powered TV Viewer for KDE4!
      • How to Install puddletag in Ubuntu 11.04 Natty Nar...
      • How To Install GIMP in Ubuntu (10.04/10.10 and 11....
      • How To Install Adobe Flash Player 10.3 in Ubuntu 1...
      • Install Truecrypt in Ubuntu 11.04 Natty Narwhal
      • How To Install Skype in Fedora 15?
      • Install Gdiskdump in Ubuntu 11.04 - An Easy To Use...
      • How To Install LibreOffice 3.4 in Ubuntu 11.04 Nat...
      • A Skype Status Menu Gnome Shell Extension is Avail...
      • Atolm-gtk3, Another Beautiful Gnome3/Shell Theme!
      • New Asus Eee PC Netbook Editions now Support Ubun...
    • ►  May (149)
    • ►  April (33)
    • ►  March (4)
  • ►  2008 (2)
    • ►  March (1)
    • ►  January (1)
Powered by Blogger.

About Me

Unknown
View my complete profile