[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] exhaustive search
- Subject: Re: [cobalt-users] exhaustive search
- From: jens@xxxxxxxxxxxxxxxxxxxx (Jens Kristian Søgaard)
- Date: Tue Jan 2 13:18:43 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
shawn <shawn@xxxxxxxxxxxx> writes:
> I was just wondering if there is a command for an exhaustive search
> (i.e. searching all of the content of files instead of just file names).
> I have a raq2, that has decided not to completely delete a user, so I
> cant readd the name. I have taken the username out of everywhere that I
> can think of, and it wont show up with locate or find, but it still says
> that its there when I try to add it in the GUI.
Try looking in /etc/passwd and /etc/shadow for the user.
For an exhaustive search of all files on the server, try something
like:
find / | xargs grep -i username | less
Note however, that this may take a very long while to complete.
--
Jens Kristian Søgaard, Mermaid Consulting I/S,
jens@xxxxxxxxxxxxxxxxxxxx,
http://www.mermaidconsulting.com/