![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to Single user mode? | gkreddy | UNIX for Dummies Questions & Answers | 1 | 10-25-2007 10:31 PM |
| single user mode | kekanap | UNIX for Advanced & Expert Users | 5 | 07-29-2005 09:06 AM |
| single user mode - user accounts passwords | orestis | UNIX for Dummies Questions & Answers | 2 | 03-09-2005 06:54 AM |
| single-user mode | zorro81 | UNIX for Dummies Questions & Answers | 2 | 04-06-2002 04:10 PM |
| Single user mode | merlin | UNIX for Dummies Questions & Answers | 2 | 01-15-2002 07:48 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
single user mode
Hi all,
why "vi" acts differently is single user mode? Does anyone help ? I am using "x" to delete and it keeps messing up. Please help Thanks |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Hmm... is your terminal defined correctly? That's the first thing that popped in my mind...
Another way to do it is with ed / ex. The following is courtesy of "Unix Hints and Hacks": Code:
># cp /etc/passwd /etc/passwd.bak ># ed /etc/passwd 1p s/:.............:/::/ 1p w q ># After this, you should be able to log in without any problems and change the passwd. NOTE: This will only work with "traditionally" crypt'd passwords. They have 13 characters in the password field. |
|
#3
|
||||
|
||||
|
Thanks LivinFree
|
||||
| Google The UNIX and Linux Forums |