On Wed, 28 Jun 2000, Steven Pierce wrote:

> 
> 
> Pat,
> 
> I did a ps -ef on the nmb, and this is what I got in return:
> 
> steven    2509  2492  0 18:15 pts/0    00:00:00 grep nmb.
> 
> Now that show as me, should it show as ROOT?   Do you know the command to change it 
>to
> root if needed?  I thought it was chmod, not sure.
> 

NO, chmod is used for file permissions, to change the user to root, you
have to use the chusr, or chuser command. I forget if it has the e in it
or not. You have to be root to use this command, but that is the only way
to change the owner of the file. Did you try using a sticky bit for the
file? If it has to be run as root, apply a sticky bit ( chmod a+s *file* )
and that let's you run the file as yourself, but you look like root. It
can be a dangerous thing, so only use it if you know that the file cannot
hurt anything. Good luck.


Jake McHenry
[EMAIL PROTECTED]


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

Reply via email to