nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

linux password remove

This is a discussion on linux password remove within the Linux software forums, part of the Linux Getting Started category; I would like to remove linux password what command i need to use? any idea?...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 01-17-2006, 05:50 PM
Guest
 
Posts: n/a
Default linux password remove

I would like to remove linux password what command i need to use? any idea?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-18-2006, 08:43 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 581
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

To remove password you need to edit password file /etc/passwd and remove password filed x mark. For example

Code:
vi /etc/passwd
Let us say your user name is usr1 then its password entry should look like as follows
usr1:x:1020:1019::/home/myproj/:/bin/sh

Remove x from above entry so that it will look like as follows:
usr1::1020:1019::/home/myproj/:/bin/sh

Save file. Now usr1 should be able to login without password.

Be careful this kind of setup is like an initiation for hacker/cracker. If I wear you, I will never do anything like this
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Howto remove the iptables settings on Linux sweta Getting started tutorials 0 07-27-2007 07:52 AM
How to add and remove groups in Linux nixcraft Getting started tutorials 0 05-18-2007 02:33 AM
HP UX user lock password, change password, password aging rockdalinux HP-UX 0 12-20-2006 03:36 PM
Changing password at first login. Linux sbhupathireddy Linux software 1 07-05-2006 01:29 PM
change password under linux Linux software 1 01-18-2006 08:38 PM


All times are GMT +5.5. The time now is 03:27 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36