[sudo-users] sudo ssh issue

Asselin, Daniel d.asselin at cgi.com
Fri Sep 11 08:43:08 EDT 2009


Hi every one

    This is my problem I need to run sudo commands has root from a
Remote server.  In order to accomplish this I'm using a set of scripts

>From Erdal mutlu.  I made a small modification to

It which consist of forcing the user and not root



The problem is when I try to run sudo command

Whith root privileges I get the famous reply

That this sessions is not a tty and the command

Fails



 Dose any one know of a work around for this

Issue.



1 on the remote server all sudo command work

2 only true ssh do the command fail



Dan






Daniel Asselin
SysAdmin \ UNIX Solaris
CGI Canada (Caisse De Dépot)
1000 Place Jean-Riopelle Montreal QC
H2Z 2B3
Tel:  (514) 847-7950  Poste: 7926
Cell: (514) 346-1951
d.asselin at cgi.com<mailto:d.asselin at cgi.com>
daniel.asselin at lacaisse.com

Aut Viam Inveniam Aut Faciam!
              ou/or
Quando ami flunkus morti


________________________________
Avis de confidentialité : Ce courriel et les pièces qui y sont jointes contiennent de l'information confidentielle et peuvent être protégés par le secret professionnel ou constituer de l'information privilégiée. Ils sont destinés à l'usage exclusif de la (des) personne(s) à qui ils sont adressés. Si vous n'êtes pas le destinataire visé ou la personne chargée de transmettre ce document à son destinataire, vous êtes avisé par la présente que toute divulgation, reproduction, copie, distribution ou autre utilisation de cette information est strictement interdite. Si vous avez reçu ce courriel par erreur, veuillez en aviser immédiatement l'expéditeur par téléphone ainsi que détruire et effacer l'information que vous avez reçue de tout disque dur ou autre média sur lequel elle peut être enregistrée et ne pas en conserver de copie. Merci de votre collaboration.
Notice of Confidentiality: This electronic mail message, including any attachments, is confidential and may be privileged and protected by professional secrecy. They are intended for the exclusive use of the addressee. If you are not the intended addressee or the person responsible for delivering this document to the intended addressee, you are hereby advised that any disclosure, reproduction, copy, distribution or other use of this information is strictly forbidden. If you have received this document by mistake, please immediately inform the sender by telephone, destroy and delete the information received from any hard disk or any media on which it may have been registered and do not keep any copy. Thank you for your cooperation.



More information about the sudo-users mailing list