Go Back   Computer Forums > General Computing > Software and Operating Systems
Click Here to Login
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 06-03-2011, 08:27 PM   #1
In Runtime
7D8's Avatar
Join Date: Oct 2006
Posts: 209
Default Re: auto sudo root

hi, I'm using Debian and am trying to setup an sh script that will mount a drive.

Debian by default allows this action to be performed by root. Which is fine with me. However, I need to:
  1. Login as root
  2. Mount Drive
  3. Exit

i tried doing:

su root
echo mypass
but that didn't seem to take. I would like to avoid making my user a sudoer.

Any ideas?

SOLVED: ahh... solved it another way. Added the volume into /etc/fstab and now it auto mounts. go me!
7D8 is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Winzip Crack Pipson Programming 4 03-17-2004 01:40 PM

All times are GMT -5. The time now is 01:41 AM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0