helloooo -

i have a question regarding adding desktop shortcuts.

try as i might, i'm having issues with the permissions or something. my goal right now is to just have a shortcut to run a python script.

here's the dropbear example from http://n770.herraiz.org/archives/16 which i'm having issues with.

i set up the files.

/root/sshd_user is:
sudo /root/sshd

/root/sshd is:
#!/bin/sh
/var/lib/install/etc/init.d
/dropbear-server start

i have:
user ALL = NOPASSWD: /root/sshd
in my /etc/sudoers file.

now, if i run straight from the prompt:
MAEMAE:~# /root/sshd_user
-sh: /root/sshd_user: Permission denied
MAEMAE:~# /root/sshd
-sh: /root/sshd: Permission denied
MAEMAE:~# whoami
root

if i do this:
MAEMAE:~# sudo /root/sshd
sudo: unable to lookup MAEMAE via gethostbyname()
root is not in the sudoers file.  This incident will be reported.

strange? i really appreciate your help or suggestions!

thanks so much, christine
_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to