Hi Saifi, Welcome. The command sudo allows a permitted user to execute a command as the superuser or another user, as specified in the sudoers file. So i guess you have to make entry in the /etc/sudoers file for the sudo-able commands. Share with us your results.
Thanks, Jayesh On Tue, May 19, 2009 at 4:23 PM, Saifi Khan <[email protected]>wrote: > > > On Tue, 19 May 2009, Jayesh Agrawal wrote: > > > Hi Saifi, > > > > One input to your question. What I have observed is if you use sudo for a > > command it will ask you for the password.And lets say you dont use sudo > for > > some time and again you use it, then it prompts for the password again. I > > think there must be some timer maintained for the use of sudo. This is > just > > my observation not an answer to the question. :) > > > > Thanks, > > Jayesh > > > > On Tue, May 19, 2009 at 3:36 PM, Saifi Khan > > <[email protected]<saifi.khan%40twincling.org> > >wrote: > > > > > > > > > > > Hi all: > > > > > > Noticed that many users keep typing many times on the terminals > > > the following pattern > > > > > > $ sudo command01 options > > > password: > > > > > > $ sudo command02 options > > > $ sudo command03 options > > > $ sudo command04 options > > > $ sudo command05 options > > > > > > As some would have noticed, sudo only asks for password for the > > > first time, so for command 2, 3, 4 and 5, there was no password > > > prompt. > > > > > > Can somebody please explain how sudo works ? > > > > > > thanks > > > Saifi. > > > > > > > > > > Hi Jayesh: > > Thanks for your reply. > > Is the timer configurable ? > > The other thing i wanted to know is the commands we execute. > Is there a way to classify the command as 'sudo-able' ? > > thanks > Saifi. > > [Non-text portions of this message have been removed]

