The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com




Thread: sudo su error
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 11-19-2008
karayan karayan is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 4
sudo -l show that I can execute only sudo - su test2. Editing the sudoers file should solve the problem right?

Is it possible to add an entry such that the user can execute sudo -su test2 -c 'whatever command he wants with options'

Thanks for the reply.