in reply to (OT) sudo question

Erm... not really anything to do with Perl is it?

However in the spirit of being helpful :-)

The 'su' command changes user credentials to those of the root user or to the user specified (in your case 'tuser') and then initiates a new session - you basically become the specified user and can then execute commands as them.

The 'sudo' command allows you to execute commands as another user - this is not the same as above. In order to execute the sudo command your user needs to be defined in the sudoers file (typically stored at /etc/sudoers) - the error messae above is telling you that suser is not defined in this file and so you can't use sudo...

Replies are listed 'Best First'.
Re^2: (OT) sudo question
by yelekeri (Novice) on Jul 10, 2007 at 19:31 UTC
    Thank you very much guys, I think I know the problem here. I was under the impression that su and sudo are same thing which apprarently is not.
      Thank you very much guys, I think I know the problem here. I was under the impression that su and sudo are same thing which apprarently is not.

      They can have quite similar functionality if you sudo a shell. But then that's not the intended best use of the tool: which is rather, in fact, to execute single "simple" commands as another/super user.