[sudo-users] sudo & cd command from rksh

reed at reedmedia.net reed at reedmedia.net
Thu Jul 27 12:46:59 EDT 2006


On Thu, 27 Jul 2006, paul harrison wrote:

> sudo cd sql(subdirectory within local user)
> chmod 777 *
> sudo cd /test/sqlrpts /sql (directory path outside of user login)
> sudo cp / local subdirectory /sql/*

Don't use the "sudo cd" lines. Just do the chmod and cp commands using the 
paths.

(You have some basic problems above too, which you may want to discuss 
with your local users group.)



More information about the sudo-users mailing list