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 10-02-2003, 04:42 PM
Detroit Red Detroit Red is offline
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 10-02-2003, 04:50 PM
sprintserve sprintserve is offline
Retired Moderator
 
Join Date: Jan 2003
Posts: 9,004
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 10-02-2003, 04:54 PM
zupanm zupanm is offline
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 10-02-2003, 04:55 PM
Detroit Red Detroit Red is offline
Disabled
 
Join Date: May 2003
Posts: 121
yep, thanks a lot.

  #5  
Old 10-03-2003, 05:18 PM
security security is offline
Junior Guru Wannabe
 
Join Date: Sep 2003
Posts: 79
Use "vipw" to edit by hand...

  #6  
Old 10-03-2003, 08:24 PM
PepsiTwist22 PepsiTwist22 is offline
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
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
Web Host Gandi Emphasizes User Customization with Interface Updates Web Hosting News 2012-10-23 16:14:19
Users See Difficulties as Microsoft Moves Office Live Small Business to Office 365 Web Hosting News 2012-05-02 09:24:44


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?
Advertisement:
Web Hosting News:



 

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?