| View previous topic :: View next topic |
| Author |
Message |
kricit

Joined: Fri Sep 16, 2005 3:36 pm Posts: 3
|
Posted: Wed Sep 28, 2005 3:26 pm Post subject: su in gambas |
|
|
Hi all, I have been trying to add more functionality to my gambas application by allowing rrot access because i think that it is important to the application but when i send the bash command "su" it refuses it with a message like this "su not a standard tty" what does it mean and how can i fix this problem!
Thanks in advance for any help regarding this question.
Ashley Johnson
Kricit Project _________________ Kricit :: Open Source Freedom |
|
| Back to top |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 7995 Location: Warrington, UK
|
Posted: Wed Sep 28, 2005 6:21 pm Post subject: RE: su in gambas |
|
|
It means that the su command is not being run in a terminal. Using su seems a bit of a risk anyway, sudo may be better and will run from a program. _________________ Unix is user-friendly. It's just very selective about who it's friends are. |
|
| Back to top |
|
 |
kricit

Joined: Fri Sep 16, 2005 3:36 pm Posts: 3
|
Posted: Thu Sep 29, 2005 9:38 am Post subject: RE: su in gambas |
|
|
Hi, thanks for the reply I will try sudo now.......... Yep it works, thanks but it won't accept my root or user pswd. Does it have a password and how can i obtain it. I know that giving root priviledges is usually a bad idea but the program in question is Instaleeze and people can perform removal or installation of software without it. thanks for the information so far.
Many Thanks
Ashley Johnson _________________ Kricit :: Open Source Freedom |
|
| Back to top |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 7995 Location: Warrington, UK
|
Posted: Thu Sep 29, 2005 9:52 am Post subject: RE: su in gambas |
|
|
You can set up sudo to allow users to run specific commands without a password. By default it won't allow anyone to run anything, you have to add the relevant commands and users to /etc/sudoers. _________________ Unix is user-friendly. It's just very selective about who it's friends are. |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|