Re: How can I configure to run as 'root' all the time ?
From: Nico Kadel-Garcia (nkadel_at_comcast.net)
Date: 04/01/04
- Next message: Nico Kadel-Garcia: "Re: SSH scripting"
- Previous message: Darren Tucker: "Re: ssh access denied in Suse 9.0 fresh install"
- In reply to: Jitendra Sharma: "How can I configure to run as 'root' all the time ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 1 Apr 2004 00:59:22 -0500
"Jitendra Sharma" <jksharma@yahoo.com> wrote in message
news:31ea0aae.0403311630.1ae494dd@posting.google.com...
> I want to run scp/ssh commands with effective user-id as 'root' ie.
> when I execute :
> %unix breeze<nwkuser>87: ssh NCP2 hostname
>
> This command should run with effective user-id as 'root' even though
> issued by 'nwkuser'. So , once this command is issued by 'nwkuser' it
> should do setuid/seteuid as 'root' and should look for SSH keys in
> /.ssh where I creates them.
>
> Any help would be greatly appreciated.
??? Why are you trying trying to muck around with suid commands when you can
start an ssh-agent as nwkuser, then ssh to localhost as root and load up
root's SSH keys as needed? Not that this is the way to do things: more
common would be to allow nwkuser's keys root access to hostname.
Is there some task you need to execute on breeze as the root user?
- Next message: Nico Kadel-Garcia: "Re: SSH scripting"
- Previous message: Darren Tucker: "Re: ssh access denied in Suse 9.0 fresh install"
- In reply to: Jitendra Sharma: "How can I configure to run as 'root' all the time ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|