![]() |
|
|||||||
| FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|||
|
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 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: ~ How can i completely remove everything related to vftp? |
|
||||
|
Try removing the user with vipw(8).
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
|||
|
I tried using vipw under su
this is what the system complains: Code:
/: write failed, filesystem is full pwd_mkdb: close: No space left on device re-edit the password file? What is wrong here? Is vipw's configuration file read-only which "tricked" the system to think that memory is full??? |
|
|||
|
Code:
Filesystem Size Used Avail Capacity Mounted on /dev/ad4s4a 496M 489M -33M 107% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad4s4e 496M 5.6M 450M 1% /tmp /dev/ad4s4f 49G 13G 32G 28% /usr /dev/ad4s4d 2.9G 160M 2.5G 6% /var |
|
|||
|
why is my /dev/ad4s4a full in capacity??
|
|
|||
|
how to mass uninstall programs?
|
|
||||
|
Packages and ports are installed to /usr/local/, as /usr/ different filesystem, this is not the cause of the problem.
See if there's anything that can be removed in /root, this is the home dir for the root user. Also, when installing a new kernel, the old kernel is moved to /boot/kernel.old, if this directory is present, and the current kernel is working fine, then you can remove this.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
||||
|
How to find where all your disk space went:
Code:
# cd / # du -d 1 | sort -n <check output for the largest hog> # cd /<largest hog> # ls -l <check if anything jumps out> # du -d 1 | sort -n |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Striking difference between the Linux community and BSD | windependence | Off-Topic | 79 | 6th December 2010 01:04 AM |
| What's the difference between these two memory modules? | Carpetsmoker | General Hardware | 2 | 25th November 2008 02: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 |