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?...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
| Sponsored Links | ||
|
|
|
||||
|
To remove password you need to edit password file /etc/passwd and remove password filed x mark. For example
Code:
vi /etc/passwd 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 |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| 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 | |