DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 7th July 2008
disappearedng disappearedng is offline
Shell Scout
 
Join Date: May 2008
Posts: 128
Default Difference between chpass and pw

Hi everyone,
I added this user account vftp to my freebsd by mistake. I want to delete it and this is what is being reported.
:
Code:
[root@ /usr/home]# ls
disappearedng
[root@ /usr/home]# rmuser vftp
Matching password entry:

vftp:*:1003:1004::0:0:User &:/usr/home/vftp-c:/sbin/nologin

Is this the entry you wish to remove? yes
Remove user's home directory (/usr/home/vftp-c)? no
Removing user (vftp): passwdpw: user 'vftp' does not exist: No such file or directory
.
[root@ /usr/home]# pw userdel vftp
pw: user 'vftp' does not exist: No such file or directory

[root@ /usr/home]# chpass vftp
This is my chpass vftp
Code:
#Changing user information for vftp.
Login: vftp
Password: *LOCKED**
Uid [#]: 1003
Gid [# or name]: 1004
Change [month day year]:
Expire [month day year]:
Class:
Home directory: /usr/home/vftp-c
Shell: /sbin/nologin
Full Name: User &
Office Location:
Office Phone:
Home Phone:
Other information:
~
Apparently, I can't delete vftp because it doesn't exist. However, chpass shows that the login vftp exists.

How can i completely remove everything related to vftp?
Reply With Quote
 

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Striking difference between the Linux community and BSD windependence Off-Topic 79 6th December 2010 02:04 AM
What's the difference between these two memory modules? Carpetsmoker General Hardware 2 25th November 2008 03:13 PM
difference between jdk16 and diablo 1.6 cuongvt FreeBSD Ports and Packages 8 16th October 2008 12:17 AM
difference between rc.conf and loader.conf disappearedng FreeBSD General 5 3rd September 2008 05:54 AM


All times are GMT. The time now is 03:39 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick