Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-06-2002, 05:34 PM   #1
Registered: Dec 2001
Location: Marietta
Distribution: Slackware 8.0
Posts: 95

Rep: Reputation: 15
Unhappy Why cant I use nano to edit /etc/passwd?

I read somewhere that vipw locks the file so that other commands won't try to update it at the same time. So, apparently, that's really important.

My questions..

A.) What does "locks the file mean"

B.) Anyone know how to do it with code? I'm fairly decent with programming, and I would like to do nanpw (nano password), because I hate vi, and believe it or not I have met other people who do to (no offense to vi lovers)
Old 05-06-2002, 05:35 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
not sure but you can maybe try pico or jed maybe.. if you don't like vi ?? i like vi, always works for me..


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
nano hostmark101 Linux - Newbie 8 08-12-2005 07:53 PM
nano -w /etc/hosts bobotoes Linux - Newbie 5 10-04-2004 02:49 PM
nano using >99% of CPU!!! oudent Linux - Software 4 06-23-2004 12:41 AM
Bash script to edit passwd without Root password? NetFlash Linux - Newbie 2 11-29-2003 05:22 PM
pico nano shania Linux - Newbie 2 10-30-2003 01:27 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration