help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: root-owned ~/.cfengine on HP-UX?


From: Thomas Glanzmann
Subject: Re: root-owned ~/.cfengine on HP-UX?
Date: 9 Jan 2003 18:51:42 GMT
User-agent: slrn/0.9.7.4 (Linux)

> Not that confusing. Use grep. Have a look at the Sources ...
> 
> in src/init.c line 86. I think it is a bug. But ask Mark.
> 
> (faui03) [~] touch hello
> (faui03) [~] chown 0.0 hello
> chown: changing ownership of `hello': Not owner
> (faui03) [~] ls -al hello
> -rw-r--r--    1 sithglan icipguru        0 Jan  9 19:28 hello
> 
> As you can see. A normal user under solaris can't change the ownership of a 
> file
> to root. And I guess that it is different on HP UX. Just try it and let me 
> know.

Just to be precise ... I found a HP UX machine in the corner :-)

I already thought ...

bash-2.03$ id
uid=103(sithglan) gid=20(users)
bash-2.03$ uname -a
HP-UX apollo8 B.10.20 A 9000/715 2008374648 two-user license
bash-2.03$ touch hello 
bash-2.03$ ls -al hello
-rw-r--r--   1 sithglan   users            0 Jan  9 18:49 hello
bash-2.03$ chown 0:0 hello
bash-2.03$ ls -al hello
-rw-r--r--   1 root       root             0 Jan  9 18:49 hello

By the way ... it would be nice to get feedback from you ... even if I wrote
some offensive eMails :-)

Greetings,
        Thomas
-- 
Rathsbergerstrasse 28     D-91054 Erlangen / Burgberg     +49 (0) 9131 - 614720


reply via email to

[Prev in Thread] Current Thread [Next in Thread]