03-12-2009
Thanks pludi .
But these is no sudoer file in /etc folder. Is there any other path or file where these setting can be done.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
here is my script:
#!/bin/sh
cd /Users/a
echo "what is the name of the file u want?"
read var1
var1=$var1... (1 Reply)
Discussion started by: cleansing_flame
1 Replies
2. Solaris
I am trying to set up sudo for a command, but do not want to specify the arguments that can be passed into it. I want the user who is using sudo to be able to pass in the arguments they want. I am fairly sure I know how to do this with RBAC in Solaris 10, but for reasons I will not get into I... (1 Reply)
Discussion started by: synchro
1 Replies
3. UNIX for Advanced & Expert Users
Hello,
What does the below sudo command provide access to, does it allow a user to su to any other user except root.
sudo !/usr/bin/su * (1 Reply)
Discussion started by: sophos
1 Replies
4. Shell Programming and Scripting
cat test.sh
sudo mount -t vfat /dev/sda7 /media/Ddrive
If i double click the test.sh file and select run in terminal then the terminal prompts for password.
How can i avoid typing password?
Or if i double click test.sh file and select run then nothing happens.
What i'm trying "Double... (3 Replies)
Discussion started by: cola
3 Replies
5. UNIX for Dummies Questions & Answers
Hi! I'm very new to unix, so please keep that in mind with the level of language used if you choose to help :D Thanks!
When attempting to use sudo on and AIX machine with oslevel 5.1.0.0, I get the following error:
exec(): 0509-036 Cannot load program sudo because of the following errors:... (1 Reply)
Discussion started by: Chloe123
1 Replies
6. Linux
Hi I wanted to add a group using 1 id which is not root but has some sudo privileges.
test@test>sudo -l
gives this
(root) NOPASSWD: /usr/bin/passwd, /usr/sbin/useradd, /usr/sbin/usermod, /usr/sbin/userdel, /usr/bin/tee, /usr/bin/grep, /bin/grep, /usr/bin/chmod, /bin/chmod, /usr/bin/echo,... (1 Reply)
Discussion started by: datkan
1 Replies
7. Solaris
Hi,
I have a small problem that I need to address regarding the password expiration for a number of different oracle accounts. Currently I have the MAXWEEKS set to 12 in the /etc/default/passwd file for all accounts. I also have sudo installed on the server and users access the oracle accounts... (2 Replies)
Discussion started by: sparcman
2 Replies
8. UNIX for Dummies Questions & Answers
Have a sudo statement inside of a here document. It prompts me for a password, but doesnt wait for me to enter my password. Is there a way I can use the command without sudo or anyway that I can enter the password correctly?
Eg :
while read remotehost
do
ssh -t $2@$remotehost ... (0 Replies)
Discussion started by: mnanavati
0 Replies
9. Shell Programming and Scripting
I am writing a BASH script to update a webserver and then restart Apache. It looks basically like this:
#!/bin/bash
rsync /path/on/local/machine/ foo.com:path/on/remote/machine/
ssh foo.com sudo /etc/init.d/apache2 reloadrsync and ssh don't prompt for a password, because I have DSA encryption... (9 Replies)
Discussion started by: fluoborate
9 Replies
10. HP-UX
I need to configure access for a user in an HP-UX to :
1) use certain commands and
2) login as another user as a sudo.
These have to be done WITHOUT the user needing to enter a password.
However, after I enter the lines using visudo, there is a prompt for a password when the user... (3 Replies)
Discussion started by: aigini82
3 Replies
LEARN ABOUT DEBIAN
pop3browser
pop3browser(1) pop3browser(1)
NAME
pop3browser -- small perl script to access POP3 mail accounts
DESCRIPTION
pop3browser is a perl script that uses libnet-perl to give access to POP3 mail accounts without fetching the messages.
pop3browser can be used to delete unwanted mails (SPAM), especially when they come with large attachments, before downloading them over
low-bandwidth connections. The --limit option of fetchmail is very useful to filter such large mails which can then be inspected with
pop3browser.
The program supports normal POP3 authentication and APOP.
USAGE
pop3browser welcomes you with a short copyright note and a command line prompt. The settings for a mailbox (host, password etc.) have to be
specified in a configuration file (similar to fetchmail). pop3browser understands the following commands:
hosts list available hosts specified in .pop3browserrc
login n
log into host no. n, use 'hosts' to get a list of available hosts
o(pen) n
same as login
apop n same as login but uses APOP
c(lose)
delete messages marked for deletion and close current connection
list list sizes and message numbers of the mails on the account
s(how) n
show header and some body lines of mail number n
m(ailbox)
list message number, size, sender and subject for each mail
d(elete) n
delete mail number n
undel(ete) n
undelete mail number n
k(ill) expr
delete mails matching expr in header
u(nkill) expr
undelete mails matching expr in header
q(uit) delete messages marked for deletion and quit program
exit same as quit
help print a command summary
CONFIG FILE
The definitions for a mailbox are specified in ~/.pop3browserrc. One line per mailbox. Lines starting with # are ignored. Each definition
must be in the following form:.br hostname <tab or space> userid <tab or space> password <tab or space> protocol (optional)
For example:
#definition for bar@pop.foo.com
#pop-server UID passwd protocol
pop.foo.com bar s3cr3t apop
#end of definition
Recognised options for the protocol are pop3 and apop. If no protocol is specified the command login/open assumes pop3. The command apop
ignores the protocol option.
To override the default header-filter of the show command you can specify a custom set of keywords in ~/.pop3browserrc. Lines starting
with "@headpattern" or "@bodylines" are parsed by pop3browser. Settings for the header-filter must be in the following form:
@headpattern <tab or space> = <tab or space> "<keyword1>","<keyword2>",....
The filter keywords are matched against the start of a header line.
Settings for the number of body lines to show, have to be in the following form:
@bodylines <tab or space> = <tab or space> <Number>
Example:
@headpatterns = "From:","To:","Subject:","Date:","CC"
@bodylines = 10
The file ~/.pop3browserrc must only be readable for the owning user. pop3browser corrects other file modes automatically.
SEE ALSO
fetchmail(1)
AUTHOR
Christoph Baumann <cgb@debian.org>
THANKS
Jorrit 'J"o' Fahlke, for his overhaul of the config file parser
Takeshi Hamasaki, for the headpattern patch
Debian/GNU Linux Nov. 2003 pop3browser(1)