# Using Sudo

**URL:** <https://community.unix.com/t/using-sudo/158456>\
**Category:** UNIX for Dummies Questions & Answers\
**Created:** [December 28, 2005, 8:53am UTC](https://community.unix.com/t/using-sudo/158456 "2005-12-28T08:53:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ambika](https://community.unix.com/letter_avatar/ambika/32/5_5575768a8748004e209b776fc1b2916d.png) [@ambika](https://community.unix.com/u/ambika)\
**Post date:** [December 28, 2005, 8:53am UTC](https://community.unix.com/t/using-sudo/158456/1 "2005-12-28T08:53:13Z")

</div>

Hi All,

I have been trying to use the option -S in sudo for quite some time now but have not been successful. I get the error "Inappropriate ioctl for device" most of the time. Can anyone please tell me how to use this option to pass the password.

Your help is appreciated.

Thanks,  
Ambika

---

<div class="post-metadata">

**Author:** ![matrixmadhan](https://community.unix.com/letter_avatar/matrixmadhan/32/5_5575768a8748004e209b776fc1b2916d.png) [@matrixmadhan](https://community.unix.com/u/matrixmadhan)\
**Post date:** [December 28, 2005, 8:57am UTC](https://community.unix.com/t/using-sudo/158456/2 "2005-12-28T08:57:53Z")

</div>

Please read the rules.

Its a duplicate post.

---

<div class="post-metadata">

**Author:** ![RTM](https://community.unix.com/user_avatar/community.unix.com/rtm/32/58_2.png) [@RTM](https://community.unix.com/u/RTM)\
**Post date:** [December 28, 2005, 8:58am UTC](https://community.unix.com/t/using-sudo/158456/3 "2005-12-28T08:58:49Z")

</div>

You can find the rules [here](http://www.unix.com/showthread.php?t=2971) (duplicate post deleted - leaving this thread)
