This discussion is archived
1 Reply Latest reply: Mar 4, 2013 5:39 AM by Dude! RSS

cant login as sudo

923549 Newbie
Currently Being Moderated
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
    Dude! Guru
    Currently Being Moderated
    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?


  • Correct Answers - 10 points
  • Helpful Answers - 5 points