Re: Problem with changing displayed names

2000-08-01 Thread Anthony E . Greene

On 02 Aug 2000 02:44 Jake McHenry wrote:
>On Wed, 2 Aug 2000, Anthony E . Greene wrote:
>
>--/etc/passwd
>
>no, it was an executable file, which when run, prompted for a new name to
be
>displayed. I used to know what it was, but I cannot remember it for the
life of
>me.

Ahh... I think I know what you're looking for:

CHFN(1)   Linux Reference Manual  CHFN(1)

NAME
   chfn - change your finger information

SYNOPSIS
   chfn  [ -f full-name ]  [ -o office ]  [ -p office-phone ]
   [ -h home-phone ] [ -u ] [ -v ] [ username ]

DESCRIPTION
   chfn is used to  change  your  finger  information.   This
   information is stored in the /etc/passwd file, and is disĀ­
   played by the finger program.  The  Linux  finger  command
   will  display  four  pieces  of  information  that  can be
   changed by chfn : your  real  name,  your  work  room  and
   phone, and your home phone.


Tony
-- 
Anthony E. Greene <[EMAIL PROTECTED]> 
PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
Linux. The choice of a GNU Generation. 


--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Problem with changing displayed names (SOLVED)

2000-08-01 Thread Jake McHenry


Thank you very much. That is exactly what I was looking for that I could not
remember.

Jake

On Tue, 1 Aug 2000, Nitesh Dhanjani wrote:

--
--chfn
--
--
--On Tue, 1 Aug 2000, Jake McHenry wrote:
--
--> On Wed, 2 Aug 2000, Anthony E . Greene wrote:
--> 
--> --/etc/passwd
--> 
--> no, it was an executable file, which when run, prompted for a new name to be
--> displayed. I used to know what it was, but I cannot remember it for the life of
--> me.
--> 
--> jake
--> 
--> 
--> -- 
--> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
--> as the Subject.
--> 
--> 
--
--
 
--To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
--as the Subject.
--
--

Jake McHenry
[EMAIL PROTECTED]


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: Problem with changing displayed names

2000-08-01 Thread Nitesh Dhanjani


chfn


On Tue, 1 Aug 2000, Jake McHenry wrote:

> On Wed, 2 Aug 2000, Anthony E . Greene wrote:
> 
> --/etc/passwd
> 
> no, it was an executable file, which when run, prompted for a new name to be
> displayed. I used to know what it was, but I cannot remember it for the life of
> me.
> 
> jake
> 
> 
> -- 
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
> 
> 


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: Problem with changing displayed names

2000-08-01 Thread Jake McHenry

On Wed, 2 Aug 2000, Anthony E . Greene wrote:

--/etc/passwd

no, it was an executable file, which when run, prompted for a new name to be
displayed. I used to know what it was, but I cannot remember it for the life of
me.

jake


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: Problem with changing displayed names

2000-08-01 Thread Anthony E . Greene

On 01 Aug 2000 21:17 Jake McHenry wrote:
>
>I used to know how to do this, but have forgotten the what the name of the
file
>was that did this. As I've been cleaning my system of users no longer here,
I've
>been noticing accounts that name's do not match the login name. I know
that
>there is a file that allows anyone to do this, and I want to change the
owner to
>root, so only I can do it. Sorry if this is an easy one, but I forgot what
is
>was called.

/etc/passwd

-- 
Anthony E. Greene <[EMAIL PROTECTED]> 
PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
Linux. The choice of a GNU Generation. 


--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: Problem with changing displayed names

2000-08-01 Thread Steve Borho

On Tue, Aug 01, 2000 at 03:17:07PM -0400, Jake McHenry wrote:
> 
> I used to know how to do this, but have forgotten the what the name
> of the file was that did this. As I've been cleaning my system of
> users no longer here, I've been noticing accounts that name's do not
> match the login name. I know that there is a file that allows anyone
> to do this, and I want to change the owner to root, so only I can do
> it. Sorry if this is an easy one, but I forgot what is was called.

/etc/passwd maps names/userinfo to user id's.
/etc/group  does the same thing for group id's.

When you get rid of a user account, you should use the userdel command
which does the exact opposite of useradd, then run periodically

find / -nouser -print

This will give you a list of all the files on the filesystem which are
owned by a userid which is no longer in /etc/passwd  (-nogroup also
does what you would expect)

find / -nouser -print | xargs rm

is a good method for cleaning up after old user accounts, once you
make sure the find command is locating only those old files.
(you have to be careful since rpms and tar files sometimes contain
files with userid's foreign to your machine, and you don't necessarily
want to delete all them)

If you want to make all the 'unknown user' files owned by root (and
group root) instead, simply run:

find / -nouser -print | xargs chown root.root

-- 
Steve Borho   Voice:  TBA
Member of Technical Staff
Celox Networking Inc

Fortune of the day:
Parkinson's Fourth Law:
The number of people in any working group tends to increase
regardless of the amount of work to be done.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Problem with changing displayed names

2000-08-01 Thread Jake McHenry


I used to know how to do this, but have forgotten the what the name of the file
was that did this. As I've been cleaning my system of users no longer here, I've
been noticing accounts that name's do not match the login name. I know that
there is a file that allows anyone to do this, and I want to change the owner to
root, so only I can do it. Sorry if this is an easy one, but I forgot what is
was called.

Thanks,

Jake McHenry
[EMAIL PROTECTED]


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.