1 Reply Latest reply on Mar 4, 2013 1:39 PM by Dude!

    cant login as sudo

      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..!

        • 1. Re: cant login as sudo
          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?