* [Q] top for normal users ?
@ 2000-05-03 4:00 Stefan A. Deutscher
2000-05-04 4:00 ` Stefan A. Deutscher
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Stefan A. Deutscher @ 2000-05-03 4:00 UTC (permalink / raw)
Howdy,
I have top on this Tru64 v.4.0 system which I can invoke only as root.
For normal users, it tells me:
/dev/kmem: Permission denied
which is not surprising, looking at it:
# ls -l /dev/kmem
cr--r----- 1 root mem 2, 1 Jan 22 07:03 /dev/kmem
As root, it works, and identifies itself as
Top version 3.5beta5, Copyright (c) 1984 through 1996, William LeFebvre
-rwxr-xr-x 1 root 278528 Feb 9 12:07 top
Now, the questions are:
1. Can one _safely_ change that such that top can also be invoked by
normal users? The idea is that they can see their load and, if they
wish, kill their processes.
2. Where do I find a newer / non-beta version?
Thanks in advance for all hints!
Cheers,
Stefan
-
--
=========================================================================
Stefan A. Deutscher | (+33-(0)1) voice fax
Laboratoire des Collisions Atomiques et | LCAM : 6915-7699 6915-7671
Mol\'{e}culaires (LCAM), B\^{a}timent 351 | home : 5624-0992 call first
Universit\'{e} de Paris-Sud | email: sad@utk.edu
91405 Orsay Cedex, France (Europe) | (forwarded to France)
=========================================================================
Do you know what they call a quarter-pounder with cheese in Paris?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Q] top for normal users ?
2000-05-03 4:00 [Q] top for normal users ? Stefan A. Deutscher
2000-05-04 4:00 ` Stefan A. Deutscher
2000-05-04 4:00 ` jr
@ 2000-05-04 4:00 ` Burkhard Schultheis
2000-05-04 4:00 ` Andrew Duane USG
2 siblings, 1 reply; 5+ messages in thread
From: Burkhard Schultheis @ 2000-05-04 4:00 UTC (permalink / raw)
"Stefan A. Deutscher" schrieb:
>
> Howdy,
>
> I have top on this Tru64 v.4.0 system which I can invoke only as root.
> For normal users, it tells me:
>
> /dev/kmem: Permission denied
>
> which is not surprising, looking at it:
>
> # ls -l /dev/kmem
> cr--r----- 1 root mem 2, 1 Jan 22 07:03 /dev/kmem
>
> As root, it works, and identifies itself as
> Top version 3.5beta5, Copyright (c) 1984 through 1996, William LeFebvre
> -rwxr-xr-x 1 root 278528 Feb 9 12:07 top
>
> Now, the questions are:
>
> 1. Can one _safely_ change that such that top can also be invoked by
> normal users? The idea is that they can see their load and, if they
> wish, kill their processes.
>
We have changed the permission to read
-rwsr-xr-x 1 root tde 360448 Jul 13 1999 /home/gnu/bin/top
Our file size is bigger but it says, it's version 3.5beta5, too.
> 2. Where do I find a newer / non-beta version?
>
I don't know.
--
Burkhard Schultheis
Tele Data Electronic
Wagnerstr. 10
D-76448 Durmersheim
Email: Burkhard.Schultheis@tde-online.de
Phone: +49-7245-9287-21
Fax: +49-7245-9287-30
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Q] top for normal users ?
2000-05-03 4:00 [Q] top for normal users ? Stefan A. Deutscher
2000-05-04 4:00 ` Stefan A. Deutscher
@ 2000-05-04 4:00 ` jr
2000-05-04 4:00 ` Burkhard Schultheis
2 siblings, 0 replies; 5+ messages in thread
From: jr @ 2000-05-04 4:00 UTC (permalink / raw)
To: sad
Hi Stefan,
you can doesnload top from
http://www.groupsys.com/topinfo/
There is a FAQ that describes issues related to setuid etc.
Cheers,
jr
"Stefan A. Deutscher" wrote:
> Howdy,
>
> I have top on this Tru64 v.4.0 system which I can invoke only as root.
> For normal users, it tells me:
>
> /dev/kmem: Permission denied
>
> which is not surprising, looking at it:
>
> # ls -l /dev/kmem
> cr--r----- 1 root mem 2, 1 Jan 22 07:03 /dev/kmem
>
> As root, it works, and identifies itself as
> Top version 3.5beta5, Copyright (c) 1984 through 1996, William LeFebvre
> -rwxr-xr-x 1 root 278528 Feb 9 12:07 top
>
> Now, the questions are:
>
> 1. Can one _safely_ change that such that top can also be invoked by
> normal users? The idea is that they can see their load and, if they
> wish, kill their processes.
>
> 2. Where do I find a newer / non-beta version?
>
> Thanks in advance for all hints!
>
> Cheers,
> Stefan
>
> -
>
> --
> =========================================================================
> Stefan A. Deutscher | (+33-(0)1) voice fax
> Laboratoire des Collisions Atomiques et | LCAM : 6915-7699 6915-7671
> Mol\'{e}culaires (LCAM), B\^{a}timent 351 | home : 5624-0992 call first
> Universit\'{e} de Paris-Sud | email: sad@utk.edu
> 91405 Orsay Cedex, France (Europe) | (forwarded to France)
> =========================================================================
> Do you know what they call a quarter-pounder with cheese in Paris?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Q] top for normal users ?
2000-05-04 4:00 ` Burkhard Schultheis
@ 2000-05-04 4:00 ` Andrew Duane USG
0 siblings, 0 replies; 5+ messages in thread
From: Andrew Duane USG @ 2000-05-04 4:00 UTC (permalink / raw)
It is not safe to change /dev/kmem to be world-readable.
It would be a better idea to change top to group "mem" and
make it SETGID instead of root and SETUID.
--
Andrew L. Duane (JOT-7) duane@zk3.dec.com
Compaq Computer Corporation (603)-884-1294
110 Spit Brook Road
M/S ZKO3-3/U14
Nashua, NH 03062-2698
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Q] top for normal users ?
2000-05-03 4:00 [Q] top for normal users ? Stefan A. Deutscher
@ 2000-05-04 4:00 ` Stefan A. Deutscher
2000-05-04 4:00 ` jr
2000-05-04 4:00 ` Burkhard Schultheis
2 siblings, 0 replies; 5+ messages in thread
From: Stefan A. Deutscher @ 2000-05-04 4:00 UTC (permalink / raw)
On 3 May 2000 13:51:49 GMT, Stefan A. Deutscher <stefand@lcam.u-psud.fr> wrote:
>
>Howdy,
>
> I have top on this Tru64 v.4.0 system which I can invoke only as root.
[snip]
>Now, the questions are:
>
>1. Can one _safely_ change that such that top can also be invoked by
> normal users? The idea is that they can see their load and, if they
> wish, kill their processes.
>
>2. Where do I find a newer / non-beta version?
Thanks to everybody who responded. That should get me cookin'.
Cheers,
Stefan
--
=========================================================================
Stefan A. Deutscher | (+33-(0)1) voice fax
Laboratoire des Collisions Atomiques et | LCAM : 6915-7699 6915-7671
Mol\'{e}culaires (LCAM), B\^{a}timent 351 | home : 5624-0992 call first
Universit\'{e} de Paris-Sud | email: sad@utk.edu
91405 Orsay Cedex, France (Europe) | (forwarded to France)
=========================================================================
Do you know what they call a quarter-pounder with cheese in Paris?
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-05-04 4:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-03 4:00 [Q] top for normal users ? Stefan A. Deutscher
2000-05-04 4:00 ` Stefan A. Deutscher
2000-05-04 4:00 ` jr
2000-05-04 4:00 ` Burkhard Schultheis
2000-05-04 4:00 ` Andrew Duane USG
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox