Page 1 of 1
super user
Posted: Fri May 09, 2003 1:54 pm
by Ace
is there a way to get super user rights? i need them to copy some files to protected directorys.
Posted: Fri May 09, 2003 6:03 pm
by fsw
Open a terminal and type:
su
then the next line will show up:
Password:
type in the root password and than you have Super User rights (at least in this terminal)
Hope this is what you are searching for...
Franco
Posted: Fri May 09, 2003 8:20 pm
by Ace
of cause i mean to get su right from an purebasic app.
for exsample:
if i'm loged in as normal user and want to copy files with my pb app to /opt/ i need su rights. how can i get the right to copy my files with pb?
Posted: Sat May 10, 2003 12:49 am
by ShDancer
I think you can't.
Or in other words you must run PB App as an SU, and then you have Super User rights.

Or configure sudo to give SU rigts to that user.
This is the only way that i know off maybe there are others, but i don't think so.
Posted: Fri May 23, 2003 2:26 pm
by Ace
i write a bash script. loggin as su and then starting the app. it's the easiest way.
Posted: Fri May 23, 2003 7:51 pm
by fsw
Ace wrote:i write a bash script. loggin as su and then starting the app. it's the easiest way.
Agreed

Posted: Fri May 23, 2003 11:40 pm
by PB
> i mean to get su right from an purebasic app.
I doubt it. The security risks would be enormous... imagine being able to
run a PureBasic app on a secure system and then cause havoc with it...