Re: How can I configure to run as 'root' all the time ?
From: Darren Dunham (ddunham_at_redwood.taos.com)
Date: 04/01/04
- Previous message: ash: "Re: SSH scripting"
- In reply to: Jitendra Sharma: "How can I configure to run as 'root' all the time ?"
- Next in thread: Jitendra Sharma: "Re: How can I configure to run as 'root' all the time ?"
- Reply: Jitendra Sharma: "Re: How can I configure to run as 'root' all the time ?"
- Reply: Jitendra Sharma: "Re: How can I configure SSH to run as 'root' all the time ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 01 Apr 2004 01:50:55 GMT
Jitendra Sharma <jksharma@yahoo.com> wrote:
> I want to run scp/ssh commands with effective user-id as 'root' ie.
> when I execute :
> %unix breeze<nwkuser>87: ssh NCP2 hostname
What is "NCP2" there? or did you mean "ssh hostname NCP2"?
> 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.
Install sudo maybe?
%unix breeze<nwkuser>87: sudo ssh hostname NCP2
Or don't worry about the keys in root, and set up the nwkuser with it's
own key, and authorize that key on all the machines that that user needs
to reach.
%unix breeze<nwkuser>87: ssh root@hostname NCP2
-- Darren Dunham ddunham@taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. >
- Previous message: ash: "Re: SSH scripting"
- In reply to: Jitendra Sharma: "How can I configure to run as 'root' all the time ?"
- Next in thread: Jitendra Sharma: "Re: How can I configure to run as 'root' all the time ?"
- Reply: Jitendra Sharma: "Re: How can I configure to run as 'root' all the time ?"
- Reply: Jitendra Sharma: "Re: How can I configure SSH to run as 'root' all the time ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|