Re: How can I configure to run as 'root' all the time ?
From: Darren Dunham (ddunham_at_redwood.taos.com)
Date: Thu, 01 Apr 2004 01:50:55 GMT
Jitendra Sharma <email@example.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
%unix breeze<nwkuser>87: ssh root@hostname NCP2
-- Darren Dunham firstname.lastname@example.org 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. >