[maemo-developers] [maemo-developers] adding task shortcuts

From: Christine Liu liuliuliu at gmail.com
Date: Fri Jun 16 22:24:20 EEST 2006
helloooo -

i have a question regarding adding desktop
shortcuts.<http://n770.herraiz.org/archives/16>

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20060616/a22d0a8d/attachment.htm 
More information about the maemo-developers mailing list