DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

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

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th September 2008
lumiwa lumiwa is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Default rmuser

I had some trouble and the user didn't remove properly. Now if I ran rmusr xy I got:

rmuser xy
Matching password entry:

xy:*:1002:1003::0:0:Lucy:/home/xy:/bin/tcsh

Is this the entry you wish to remove? y
Remove user's home directory (/home/xy)? y
Removing user (xy): home passwdpw: user 'xy' does not exist: No such file or directory

Do I need tu rebuild pwd.db now? Should be okay like:

pwd_mkdb /etc/pwd.db

Thanks in advance.
Reply With Quote
  #2   (View Single Post)  
Old 27th September 2008
lumiwa lumiwa is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Default

Quote:
Originally Posted by lumiwa View Post
I had some trouble and the user didn't remove properly. Now if I ran rmusr xy I got:

rmuser xy
Matching password entry:

xy:*:1002:1003::0:0:Lucy:/home/xy:/bin/tcsh

Is this the entry you wish to remove? y
Remove user's home directory (/home/xy)? y
Removing user (xy): home passwdpw: user 'xy' does not exist: No such file or directory

Do I need tu rebuild pwd.db now? Should be okay like:

pwd_mkdb /etc/pwd.db

Thanks in advance.
pwd_mkdb /etc/master.passwd

Thanks.
Reply With Quote
  #3   (View Single Post)  
Old 28th September 2008
bsduser bsduser is offline
Port Guard
 
Join Date: Jun 2008
Location: Toronto
Posts: 12
Default

Code:
pw userdel username
__________________
OpenSource + Free Thinking + Free Choise = FreeBSD
http://www.openbsd.org/zaurus.html
Edit/Delete Message

Last edited by bsduser; 28th September 2008 at 01:20 AM. Reason: mistake
Reply With Quote
Reply

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


All times are GMT. The time now is 02:01 AM.


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