The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



Thread: Sudo question
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #7 (permalink)  
Old 01-17-2008
Katkota Katkota is offline
Registered User
 

Join Date: Oct 2007
Posts: 93
The out put from "sudo -k" doesn't return any thing.
The output from "sudo -l" returns:

User Greg may run the following commands on this host:
(devuser) NOPASSWD: ALL
(devuser) NOPASSWD: !SHELLS
(devuser) NOPASSWD: !SU
(root) ALL
(root) /bin/ksh, /usr/bin/ksh, /bin/csh, /usr/bin/csh, /bin/sh, /usr/bin/sh, /sbin/sh, /usr/bin/tcsh
(root) !SU
usr/local/apache2/bin/apachectl


Also; i was asking how can user Greg sudo as "devuser" user so when he sudo he becomes "devuser" so he doesn't have to type sudo before every command he needs to run as "devuser", in other word, how can he sudo to become "devuser" to make the prompt changes from:
#Greg@server>
to
#devuser@server>


I hope i'm making it this question clear enough
Reply With Quote