become SU - ...Silently


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting become SU - ...Silently
# 8  
Old 03-27-2006
what do i need to insert there ? I mean what do i modify there?

Thanks
# 9  
Old 03-27-2006
What i get is "Permission Denied"

I think i am close enough...but cant debug the issue Smilie
# 10  
Old 03-27-2006
This is not a great idea from a security standpoint. But the file you need is /.rhosts which must be writable only by root. To allow a user named barney to do this, /.rhosts needs the line:
localhost barney
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Echoing silently?

I know, sounds mutually exclusive :-) I have a script where I ask for a password and store it in a variable, and then use it with sudo on an array of other hosts. The password winds up being choed back to my terminal as well as to the process on the remote host, like: Attempting to update... (2 Replies)
Discussion started by: jnojr
2 Replies

2. Shell Programming and Scripting

execute a command silently or quietly within a shell

How do I suspend output of commands and tools that sometimes utter unwanted output? I know that I can always pipe to null or some such thing, but is there a simpler more elegant (i.e. accepted) practice? (4 Replies)
Discussion started by: lumix
4 Replies
Login or Register to Ask a Question