07.05.2014 Views

HP-UX Security Features - OpenMPE

HP-UX Security Features - OpenMPE

HP-UX Security Features - OpenMPE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SUDO - Example<br />

$ grep admin /opt/iexpress/sudo/etc/sudoers<br />

admin1 hpatcux4=/usr/sbin/useradd<br />

$ sudo /usr/sbin/useradd newuser1<br />

We trust you have received the usual lecture from the local System<br />

Administrator. It usually boils down to these two things:<br />

#1) Respect the privacy of others.<br />

#2) Think before you type.<br />

System Password:<br />

$ id newuser1<br />

uid=125(newuser1) gid=20(users)<br />

August 26, 2004 141

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!