[Gambas-user] SHELL problems
nando
nando_f at ...951...
Tue Jun 19 18:06:39 CEST 2007
You want to use 'sudo'
man sudo
Using sudo, you can run a program as root while logged in as another user
-Fernando
---------- Original Message -----------
From: Steven Lobbezoo <steven at ...1652...>
To: gambas-user at lists.sourceforge.net
Sent: Tue, 19 Jun 2007 17:59:47 +0200
Subject: [Gambas-user] SHELL problems
> Hi all,
>
> I know it's a bit of topic, but i'l try anyway :
> In certain circumstances i need to install a printer
> in the CUPS printer system.
> With a few shell commands, thats no problem, but ....
>
> I need to go into root -mode (su), to be able to perform this.
> The user (and i for that) know the root password.
> I cannot find a way to
> - set the root password from a bash script, or
> - convey the password question to the user and let him type it.
>
> I donnot want to enable root accounts without a password for the obvious
> raisons, however there is not much securety risk with the end-user. It's just
> a work-station with no important data, and all is allways backed-up.
>
> Anybody has any ideas ?
>
> Steven
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
------- End of Original Message -------
More information about the User
mailing list