hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : can't add new users :(
Reply

Forum Jump

can't add new users :(

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old
Disabled
 
Join Date: May 2003
Posts: 121

can't add new users :(


Hi,

Does anyone know what would cause this to happen? Everytime i try to add a user to the system through the adduser command?

boxen:/home# adduser dasani
adduser: unable to lock password file
boxen:/home#

boxen:/home# useradd dasani
useradd: unable to lock password file
boxen:/home#

boxen:/home# ls -al -h --color /etc/pass*
-rw-r--r-- 1 root root 20k Sep 30 15:38 /etc/passwd
-rw------- 1 root root 20k Sep 30 00:17 /etc/passwd-
-rw-r--r-- 1 root root 865 Apr 12 2002 /etc/passwd.OLD
boxen:/home# ls -al -h --color /etc/shad*
-r-------- 1 root root 17k Sep 30 15:38 /etc/shadow
-rw------- 1 root root 16k Sep 30 00:17 /etc/shadow-
boxen:/home# ls -al -h --color /etc/group*
-rw-r--r-- 1 root root 4.6k Sep 30 15:38 /etc/group
-rw------- 1 root root 4.6k Sep 24 00:34 /etc/group-
boxen:/home#

Does anyone have any ideas? i need to be able to add some new users pretty soon.



Sponsored Links
  #2  
Old
Retired Moderator
 
Join Date: Jan 2003
Posts: 9,009
Login as root.

__________________
Like us on Facebook to qualify for discounts!
http://www.sprintserve.net
Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | Wordpress Hosting |
Services: | Managed Multiple Cores 64bit Servers | Server Management |

  #3  
Old
Web Hosting Master
 
Join Date: Dec 2001
Location: NYC, NY
Posts: 798
*sigh* he is root hence the #

its a lock file /etc/.pwd.lck

Never vi the passwd or shadow file

Sponsored Links
  #4  
Old
Disabled
 
Join Date: May 2003
Posts: 121
yep, thanks a lot.

  #5  
Old
Junior Guru Wannabe
 
Join Date: Sep 2003
Posts: 79
Use "vipw" to edit by hand...

  #6  
Old
Junior Guru Wannabe
 
Join Date: Aug 2002
Posts: 35
Eh? Use pico.. it's a program a lot like Windows Notepad... without the screwy interface..... AND the resource-killing tendencies (Massive CPU drain.) from when the process hangs.

Reply

Related posts from TheWhir.com
Title Type Date Posted
More than Half of Internet Users Fear Financial Fraud when Shopping Online: Kaspersky Report Web Hosting News 2014-08-28 10:55:13
Tor Network Investigates Attack That May Have Unmasked Anonymous Users Web Hosting News 2014-07-31 13:36:13
Dropbox Suffers Temporary Outage Impacting File Sharing and Synchronizing Web Hosting News 2014-03-14 12:11:46
Yahoo Mail Usernames, Passwords Stolen in Third-Party Database Breach Web Hosting News 2014-01-31 12:27:37
Posterous Shuts Down Today, Here Are Some Alternatives Blog 2013-04-30 17:26:02


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?