 |
|
 |
| Author |
Message |
|
|
Post subject: su norights -c /usr/photon/bin/ped -> Ap: Unable to locate P
Posted: Feb 05, 2007 - 04:28 PM
|
|
|
|
Hello,
I want to exec "ped" with a norights user. I don't want to allow the user to
save files, print into files,etc
If I try to exec ped with "su" command I've got the system message:
su norights -c /usr/photon/bin/ped
--->Ap:Unable to locate Photon
Is there a way to do something similar?
PD: This is a Test example, in fact I want to do not allow a user to print
with voyager into system files. Voyager is executed from a system command
from my gui application in a workspace blocked system....
Thanks,
David |
|
|
| |
|
|
|
 |
|
|
Post subject: Re: su norights -c /usr/photon/bin/ped -> Ap: Unable to loca
Posted: Feb 05, 2007 - 06:12 PM
|
|
|
|
Hello David
Is photon being started at startup or by typing in ph from command line
after logging in? I would appear that ped can't talk to /dev/photon.
The app needs to talk to the Photon server in order to work.
Rodney
David Porta wrote:
Quote:
Hello,
I want to exec "ped" with a norights user. I don't want to allow the user to
save files, print into files,etc
If I try to exec ped with "su" command I've got the system message:
su norights -c /usr/photon/bin/ped
--->Ap:Unable to locate Photon
Is there a way to do something similar?
PD: This is a Test example, in fact I want to do not allow a user to print
with voyager into system files. Voyager is executed from a system command
from my gui application in a workspace blocked system....
Thanks,
David
|
|
|
| |
|
|
|
 |
|
|
Post subject: Re: su norights -c /usr/photon/bin/ped -> Ap: Unable to loca
Posted: Feb 06, 2007 - 08:25 AM
|
|
|
|
Hello Rodney,
I start photon and autologgin from the rc.local:
LOGNAME=root
ph
Yes, it seems like ped can't talk to /dev/photon. Maybe only root can do it?
It works with root...
In fact, I only need to start Voyager from my root session with no rights to
print into system and database files...
Is there another way to do it?
David
"Rodney Dowdall" <rdowdall@qnx.com> escribió en el mensaje
news:eq7s0h$j4g$1@inn.qnx.com...
Quote:
Hello David
Is photon being started at startup or by typing in ph from command line
after logging in? I would appear that ped can't talk to /dev/photon. The
app needs to talk to the Photon server in order to work.
Rodney
David Porta wrote:
Hello,
I want to exec "ped" with a norights user. I don't want to allow the user
to save files, print into files,etc
If I try to exec ped with "su" command I've got the system message:
su norights -c /usr/photon/bin/ped
--->Ap:Unable to locate Photon
Is there a way to do something similar?
PD: This is a Test example, in fact I want to do not allow a user to
print with voyager into system files. Voyager is executed from a system
command from my gui application in a workspace blocked system....
Thanks,
David
|
|
|
| |
|
|
|
 |
|
|
Post subject: Re: su norights -c /usr/photon/bin/ped -> Ap: Unable to loca
Posted: Feb 06, 2007 - 02:46 PM
|
|
|
|
"chmod" should work with /dev/photon...
David Porta wrote:
Quote:
Hello Rodney,
I start photon and autologgin from the rc.local:
LOGNAME=root
ph
Yes, it seems like ped can't talk to /dev/photon. Maybe only root can do it?
It works with root...
In fact, I only need to start Voyager from my root session with no rights to
print into system and database files...
Is there another way to do it?
David
"Rodney Dowdall" <rdowdall@qnx.com> escribió en el mensaje
news:eq7s0h$j4g$1@inn.qnx.com...
Hello David
Is photon being started at startup or by typing in ph from command line
after logging in? I would appear that ped can't talk to /dev/photon. The
app needs to talk to the Photon server in order to work.
Rodney
David Porta wrote:
Hello,
I want to exec "ped" with a norights user. I don't want to allow the user
to save files, print into files,etc
If I try to exec ped with "su" command I've got the system message:
su norights -c /usr/photon/bin/ped
--->Ap:Unable to locate Photon
Is there a way to do something similar?
PD: This is a Test example, in fact I want to do not allow a user to
print with voyager into system files. Voyager is executed from a system
command from my gui application in a workspace blocked system....
Thanks,
David
--
Wojtek Lerch
QNX Software Systems |
|
|
| |
|
|
|
 |
|
|
Post subject: Re: su norights -c /usr/photon/bin/ped -> Ap: Unable to loca
Posted: Feb 06, 2007 - 04:17 PM
|
|
|
|
Yes! Thanks Wojtek,
This is working fine
"Wojtek Lerch" <Wojtek_L@yahoo.ca> escribió en el mensaje
news:eqa4ad$57h$1@inn.qnx.com...
Quote:
"chmod" should work with /dev/photon...
David Porta wrote:
Hello Rodney,
I start photon and autologgin from the rc.local:
LOGNAME=root
ph
Yes, it seems like ped can't talk to /dev/photon. Maybe only root can do
it? It works with root...
In fact, I only need to start Voyager from my root session with no rights
to print into system and database files...
Is there another way to do it?
David
"Rodney Dowdall" <rdowdall@qnx.com> escribió en el mensaje
news:eq7s0h$j4g$1@inn.qnx.com...
Hello David
Is photon being started at startup or by typing in ph from command line
after logging in? I would appear that ped can't talk to /dev/photon. The
app needs to talk to the Photon server in order to work.
Rodney
David Porta wrote:
Hello,
I want to exec "ped" with a norights user. I don't want to allow the
user to save files, print into files,etc
If I try to exec ped with "su" command I've got the system message:
su norights -c /usr/photon/bin/ped
--->Ap:Unable to locate Photon
Is there a way to do something similar?
PD: This is a Test example, in fact I want to do not allow a user to
print with voyager into system files. Voyager is executed from a system
command from my gui application in a workspace blocked system....
Thanks,
David
--
Wojtek Lerch
QNX Software Systems
|
|
|
| |
|
|
|
 |
|
|
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group Credits |
|
|
|
 |