Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: su command in shell script  (Read 4506 times)

0 Members and 1 Guest are viewing this topic.

ramyav

  • Guest
su command in shell script
« on: March 26, 2008, 04:57:09 AM »
Hi,

I would like to write a shell script which confirms whether the user has su'd to $USER if not exit.

how do i write that?