Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix > OCNix

Reply
 
LinkBack Thread Tools
Old 02-27-08   #31 (permalink)
Linux Lobbyist
 
GodofGrunts's Avatar
 
intel nvidia

Join Date: Nov 2007
Location: Hamilton, Ohio
Posts: 2,293

Rep: 134 GodofGrunts is acknowledged by manyGodofGrunts is acknowledged by many
Unique Rep: 111
Folding Team Rank: 1183
Trader Rating: 2
Default

Quote:
Originally Posted by dangerousHobo View Post
you can try this, I didn't test it

cd /home//Desktop/FAH-installer

echo "Enter Password"
stty -echo
read passwd
stty

sudo -S apt-get update
Quote:
Enter Password
speed 38400 baud; line = 0;
eol = M-^?; eol2 = M-^?; swtch = M-^?;
ixany iutf8
-echo
[sudo] password for user:
Erm... lol
__________________
Quote:
Originally Posted by MrDeodorant View Post
Oh, and the mayonnaise fanboys come out. Go back to your cave, troll. 2mm of mayonnaise is all anyone really needs. You don't have the ketchup bandwidth to support any more.

L2Sammich, noob. Besides, I'm running a Miracle Whip distro.
Click below to show/hide Hidden Text Below!
Quote:
Originally Posted by Raptor_Jesus View Post
Exactly what GodofGrunts said.
Quote:
Originally Posted by GodofGrunts View Post
Exactly what Raptor_Jesus said.
Quote:
Originally Posted by kerbitroy View Post
Exactly what they said :P
Quote:
Originally Posted by GodofGrunts View Post
Exactly what she said.
Quote:
Originally Posted by esocid View Post
Universe asplodes.





System: The Monolith
CPU
Q6600 G0 3.21 GHz
Motherboard
Asus P5K
Memory
4 GB 2x2GB OCZ
Graphics Card
8800GT Alpha Dog Edition 512MB
Hard Drive
WD 500GB Sata
Sound Card
Onboard
Power Supply
600W Ultra
Case
Monolith
CPU cooling
Scythe Ninja 2
GPU cooling
Aftermarket
OS
Mythbuntu 9.04 x64
Monitor
17" Dell LCD
GodofGrunts is online now I fold for Overclock.net GodofGrunts's Gallery   Reply With Quote
Old 02-27-08   #32 (permalink)
Linux Lobbyist
 
GodofGrunts's Avatar
 
intel nvidia

Join Date: Nov 2007
Location: Hamilton, Ohio
Posts: 2,293

Rep: 134 GodofGrunts is acknowledged by manyGodofGrunts is acknowledged by many
Unique Rep: 111
Folding Team Rank: 1183
Trader Rating: 2
Default

Do you think you could something like:

Quote:
while echo " [sudo] password for user:"
password
I'm going to bed so you don't have to respond right now...
__________________
Quote:
Originally Posted by MrDeodorant View Post
Oh, and the mayonnaise fanboys come out. Go back to your cave, troll. 2mm of mayonnaise is all anyone really needs. You don't have the ketchup bandwidth to support any more.

L2Sammich, noob. Besides, I'm running a Miracle Whip distro.
Click below to show/hide Hidden Text Below!
Quote:
Originally Posted by Raptor_Jesus View Post
Exactly what GodofGrunts said.
Quote:
Originally Posted by GodofGrunts View Post
Exactly what Raptor_Jesus said.
Quote:
Originally Posted by kerbitroy View Post
Exactly what they said :P
Quote:
Originally Posted by GodofGrunts View Post
Exactly what she said.
Quote:
Originally Posted by esocid View Post
Universe asplodes.





System: The Monolith
CPU
Q6600 G0 3.21 GHz
Motherboard
Asus P5K
Memory
4 GB 2x2GB OCZ
Graphics Card
8800GT Alpha Dog Edition 512MB
Hard Drive
WD 500GB Sata
Sound Card
Onboard
Power Supply
600W Ultra
Case
Monolith
CPU cooling
Scythe Ninja 2
GPU cooling
Aftermarket
OS
Mythbuntu 9.04 x64
Monitor
17" Dell LCD
GodofGrunts is online now I fold for Overclock.net GodofGrunts's Gallery   Reply With Quote
Old 02-27-08   #33 (permalink)
Photography nut
 
dangerousHobo's Avatar
 
amd nvidia

Join Date: Dec 2005
Location: ~/
Posts: 3,485

Rep: 409 dangerousHobo is a proven memberdangerousHobo is a proven memberdangerousHobo is a proven memberdangerousHobo is a proven memberdangerousHobo is a proven member
Unique Rep: 215
FAQs Submitted: 7
Folding Team Rank: 867
Trader Rating: 0
Default

Now that its morning and my brains rested.

sudo apt-get update
<then enter passwd>


no need to enter it before and have the password siting out on the system in plain text.

Also what shell and terminal are you using. Your's always seems different then mine(bash, aterm).
For shell: echo $SHELL
terminal: which ever one you started up..
__________________
"UNIX was never designed to keep people from doing stupid things, because that policy would also keep them from doing clever things." - Doug Gwyn

Try out the latest Programming Challenge
Quote:
Originally Posted by Melcar
Only one reasonable way to solve this... a dance off.

CPU-Z Validation
@ 2.97-prime95 stable 16 hours @ 1.48v Proof | CPU-Z Validation @ 3.15


Getting Mouse Side Buttons to work in Linux, Compile a custom Kernel, More

System: Anomaly
CPU
Athlon 3700 SD(KACAE)0546 @3.02ghz
Motherboard
DFI UT nF4 Ultra-D
Memory
G.Skill 2x512 UTT(BH-5)
Graphics Card
evga 6800gs
Hard Drive
Maxtor 300GB + WD 250GB
Sound Card
onboard
Power Supply
Ultra 500w V-series
Case
one from Ultra
CPU cooling
Big Typhoon
GPU cooling
80mm fan mounted on
OS
Arch64 & Slackware 12.1
Monitor
Acer AL2216W 22" WS LCD

Last edited by dangerousHobo : 02-27-08 at 11:14 AM
dangerousHobo is offline I fold for Overclock.net Overclocked Account dangerousHobo's Gallery   Reply With Quote
Old 02-27-08   #34 (permalink)
The Game
 
lattyware's Avatar
 
intel nvidia

Join Date: Feb 2007
Location: In A Faraday Cage
Posts: 2,657

Rep: 280 lattyware is a proven memberlattyware is a proven memberlattyware is a proven member
Unique Rep: 206
Folding Team Rank: 563
Hardware Reviews: 1
Trader Rating: 0
Default

Just do 'visudo' and edit the sudoers file (USE VISUDO FOR THIS) to give that script permission to run as root without a password, just make sure it is read-only, otherwise someone could edit the script and then run whatever they want as root instead.
__________________
Lattyware | Main (Sig) Rig: gBOX42 | Lan Rig: gLAN42
Never been convinced by Linux? Here is a challenge. | Using LVM
Scratched Disc? | Guide To LAN Parties | Writing a GUI application in Python/Glade
Etching an image into your case. | Wireless Access Points: Easy wireless networking.
A Member Of The OCN Anime/Manga Club

"I disapprove of what you say, but I will defend to the death your right to say it." --Evelyn Beatrice Hall

System: gBOX42
CPU
Core 2 Duo E6600 @ 3.51GHz
Motherboard
Asus P5B Deluxe/WiFi-AP
Memory
2 x OCZ DDR2 Platinum 1Gb PC6400 C4
Graphics Card
256MB MSI 8600GTS
Hard Drive
2x 1TB SATA, 2 x 500GB SATA
Sound Card
Creative Soundblaster Audigy SE
Power Supply
SEASONIC S12-600
Case
CoolerMaster Cosmos
CPU cooling
XSPC X2O Delta CPU Waterblock V2
GPU cooling
D-Tek FuZion GFX Block
OS
Arch Linux x64
Monitor
Dell 2407WFP, Dell E248WFP
lattyware is offline I fold for Overclock.net Overclocked Account lattyware's Gallery   Reply With Quote
Old 02-27-08   #35 (permalink)
Linux Lobbyist
 
GodofGrunts's Avatar
 
intel nvidia

Join Date: Nov 2007
Location: Hamilton, Ohio
Posts: 2,293

Rep: 134 GodofGrunts is acknowledged by manyGodofGrunts is acknowledged by many
Unique Rep: 111
Folding Team Rank: 1183
Trader Rating: 2
Default

Quote:
Originally Posted by dangerousHobo View Post
Now that its morning and my brains rested.

sudo apt-get update
<then enter passwd>


no need to enter it before and have the password siting out on the system in plain text.

Also what shell and terminal are you using. Your's always seems different then mine(bash, aterm).
For shell: echo
terminal: which ever one you started up..
Quote:
Originally Posted by lattyware View Post
Just do 'visudo' and edit the sudoers file (USE VISUDO FOR THIS) to give that script permission to run as root without a password, just make sure it is read-only, otherwise someone could edit the script and then run whatever they want as root instead.
Okay!
...
...
...
So...
What do I do?
__________________
Quote:
Originally Posted by MrDeodorant View Post
Oh, and the mayonnaise fanboys come out. Go back to your cave, troll. 2mm of mayonnaise is all anyone really needs. You don't have the ketchup bandwidth to support any more.

L2Sammich, noob. Besides, I'm running a Miracle Whip distro.
Click below to show/hide Hidden Text Below!
Quote:
Originally Posted by Raptor_Jesus View Post
Exactly what GodofGrunts said.
Quote:
Originally Posted by GodofGrunts View Post
Exactly what Raptor_Jesus said.
Quote:
Originally Posted by kerbitroy View Post
Exactly what they said :P
Quote:
Originally Posted by GodofGrunts View Post
Exactly what she said.
Quote:
Originally Posted by esocid View Post
Universe asplodes.





System: The Monolith
CPU
Q6600 G0 3.21 GHz
Motherboard
Asus P5K
Memory
4 GB 2x2GB OCZ
Graphics Card
8800GT Alpha Dog Edition 512MB
Hard Drive
WD 500GB Sata
Sound Card
Onboard
Power Supply
600W Ultra
Case
Monolith
CPU cooling
Scythe Ninja 2
GPU cooling
Aftermarket
OS
Mythbuntu 9.04 x64
Monitor
17" Dell LCD
GodofGrunts is online now I fold for Overclock.net GodofGrunts's Gallery   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 10:38 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.14406 seconds with 9 queries