RE: Howto script "sudo"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

Another approach is to say that that particular command can be ran by that particular user without prompting for a password:

1-type "visudo"
2-add the following line at the end of the file:
<user>   ALL= NOPASSWD: <command>
3-you may also need to comment line:
Defaults    requiretty

And that's it

-vcf

-----Mensagem original-----
De: users-bounces@xxxxxxxxxxxxxxxxxxxxxxx [mailto:users-bounces@xxxxxxxxxxxxxxxxxxxxxxx] Em nome de Clemens Eisserer
Enviada: domingo, 18 de Julho de 2010 13:52
Para: Community assistance, encouragement, and advice for using Fedora.
Assunto: Howto script "sudo"?

Hello,

Is it possible to pass "sudo" the root-password in some way (I would
prefer plaintext)?

The reason is I use an umts-connection utility which has to run as
root, and I don't want to have my parents type a root-password every
time they connect to our ISP. For now I simply didn't set a
root-password, and choose "run as: root" in KDE, but I really dislike
this solution.

Thank you in advance, Clemens
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Nenhum vírus encontrado nessa mensagem recebida.
Verificado por AVG - www.avgbrasil.com.br 
Versão: 9.0.839 / Banco de dados de vírus: 271.1.1/3012 - Data de Lançamento: 07/17/10 19:35:00


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux