1 Reply Latest reply: Mar 4, 2013 7:39 AM by Dude! RSS

    cant login as sudo

    923549
      can some one help me in getting login as sudo.

      i am using oracle user to login as sudo su - oracle, bleow is error

      User oracle may run the following commands on this host:
      (root) ALL, (root) !/bin/sh, !/bin/bash, !/bin/bash2, !/bin/ash, !/bin/bsh, !/bin/tcsh, !/bin/csh, !/bin/ksh,
      !/bin/ksh93, (root) !/bin/su, !/usr/bin/vncserver, (root) !/bin/passwd, !/usr/sbin/useradd, !/usr/sbin/userdel,
      !/usr/sbin/usermod, (root) !/usr/sbin/visudo

      sudo su - oracle
      Sorry, user oracle is not allowed to execute '/bin/su - oracle' as root on host


      thanks in advance..!

      sam
        • 1. Re: cant login as sudo
          Dude!
          Users cannot use the sudo command unless allowed to do so according to the /etc/sudoers file. The sudo command means to run a command as root.

          What your are trying to fix or accomplish by using sudo as user oracle to become root to login as user oracle?