sudo

execute a command as another user

copy
24
0
sudo su

source | details |

copy
6
0
sudo shutdown -r +15 "quick reboot"

source | details |

copy
4
0
sudo ls /usr/local/protected

source | details |

copy
3
0
sudo -u www vi ~www/htdocs/index.html

source | details |

copy
3
0
sudo -u jim -g audio vi ~jim/sound.txt

source | details |

copy
2
0
sudo -u yaz ls ~yaz

source | details |

copy
0
0
sudo sh

source | details |

copy
1
0
sudo cd /usr/local/protected

source | details |

copy
1
0
sudo sh -c "cd /home ; du -s * | sort -rn > USAGE"

source | details |

copy
0
0
sudo -V

source | details |

copy
0
0
sudo -g adm view /var/log/syslog

source | details |