Hi Jim,

Try: sudo /usr/bin/puppet cert list --all

Regards,
Mike.

On Tuesday, 12 July 2016 08:13:12 UTC+1, jiminfote...@gmail.com wrote:
>
> Good Folks,
>
> Having an issue while executing puppet cert list a normal user it doesn't 
> give me a list of outstanding pending certificates..
>
> Please find below
>
>     [jim@puppet ~]$ puppet cert list
>     [jim@puppet ~]$ puppet cert list --all
>     [jim@puppet ~]$ sudo puppet cert list --all
>     [sudo] password for jim: 
>     sudo: puppet: command not found
>     [root@puppet ~]# puppet cert list
>       "agent1.netgear" (SHA256) 15:8F:C1:34:5B:BD:0A:0D:F8:EA:79:84:EE:37:
> A0:39:BE:2D:E4:BD:E9:B4:14:5B:AE:77:B4:82:96:12:B7:7D
>       "agent2.netgear" (SHA256) 62:04:E8:8F:29:2B:2A:F4:DE:8B:CB:76:49:24:
> AF:26:BE:C7:24:2E:06:7C:53:69:8F:49:77:79:34:4A:5E:2B
>       "agent3.netgear" (SHA256) C5:1C:19:F2:79:BC:3E:F0:A6:CB:1B:C0:B9:33:
> 2A:58:FD:15:07:92:1E:02:B9:6A:7A:64:A6:B7:29:B4:F9:8E
>     [root@puppet ~]# su - jim
>     [jim@puppet ~]$ puppet cert list
>     [jim@puppet ~]$  
>
>
>
> When I do execute commands should I be root or jim ? or Should I be jim 
> but execute commands with sudo ?? My suoders file has already allowed jim 
> to execute any command so if I am not to execute puppet command it should 
> be some settings within puppet itself.. Also what is the best practice to 
> execute commands with root user user or normal user on agents and server.
>
> Please guide me 
>
> Thanks
> Jim
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/bd9cdbb6-7222-46d3-ac4f-ee2787b37754%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to