At 11:38 AM -0700 7/21/07, Warren Michelsen wrote:
When connecting to my server via sftp (which I assume is ssh), is
there a way, after connecting, to 'sudo su' so as to escalate my
privileges before opening and editing conf files and such?
For security reasons, the root account is disabled. When connecting
via ssh, if I need more privileges than the account through which I
log in, I use 'sudo su'.
An sftp client can't do this, as it's not part of the sftp
protocol. A better option would be to use a private/public keypair
for access to the root account ("PermitRootLogin without-password" in
/etc/sshd_config), so people cannot break into root by trying random
passwords, but you can get access with the private key.
Chris
--
Chris Pepper: <http://www.reppep.com/~pepper/>
The Rockefeller University: <http://www.rockefeller.edu/>
** I will be on vacation July 23-27, returning July 30.
** Please call the Help Desk at x8940 if you need assistance.
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>