General :: Not Able To Run " Man Mutt" Cmd From Root / Make It Possible?
Jun 8, 2010I AM NOT ABLE TO RUN " man mutt" cmd from root,
View 7 RepliesI AM NOT ABLE TO RUN " man mutt" cmd from root,
View 7 RepliesI have installed and configured mutt with gmail with no issues, following this documentation.Mutt with Gmail/IMAP [CrunchBang Linux Wiki]
I can send emails from mutt, but now I need to send email using scripts.If I try to use mutt from cmd line I have the following error.
trst:~ # echo "TESTING MUTT AND GMAIL SMTP RELAY" | mutt -s "url"
SSL connection using TLSv1/SSLv3 (RC4-MD5)
Interactive SMTP authentication not supported
Could not send the message.
The OS version: OPEN SUSE 11.3 Server installation (NO-GUI)
In my MIDI music collection, I have a "best" folder with duplicate copies of only my favorite files. Recently I thought, why waste memory with duplicates--can't I just put symlinks in the "best" folder? So I tried to, in Konqueror. It would only let me make the symlinks from the Konqueror superuser account.
View 4 Replies View RelatedI'm using Debian Squeeze, and I need to give to my gui user (the gnome user I think its called) root permission, I mean, I want to explore, read and write anything I want using my GUI user, how can I do it?
View 14 Replies View RelatedHave you used dropbox to sync your mail dirs? Was it a disaster? ... ? I have been using dropbox to sync across three ubuntu machines (two with 9.04, one with 10.04) and a windows vista machine, for about six months. I've seen a couple of oddities but am basically very happy with it. I pay for their 50GB store.
For email I use mutt and download (fetchmail) separately onto two of the ubuntu machines, outside the dropbox folders. It's a bit irritating maintaining two different mail dirs, but it does make for more security. I'm now thinking about putting the mail dirs into the dropbox folder. But if something then goes wrong with the syncing, it will be serious.
When I run sudo as a normal unprivileged user, it asks for my password, not the root password. That's often convenient, but it reduces the amount of information someone would have to have in order to run commands as root. So how can I make sudo ask for the root password instead of the invoking user's password? I know it'd be done with a line in /etc/sudoers, but I can never seem to properly parse the BNF grammar in the man page to figure out exactly what to write.
View 4 Replies View RelatedRemember back in the days of MS-DOS, a file could have 4 different attributes: archive, read-only, hidden, system. As you know, MS-DOS didn't have any user rights or privileges. Files had no owner. If you were at the command line, you could do whatever you wanted, you could change or delete any files you wanted to... so long as they weren't read-only. Under MS-DOS, if you had a read-only file and tried to delete it, you would get an error saying "Cannot delete read-only file". There was a simple remedy to this, just turn off the read-onlyness:
Code:
attrib -r hello.txt
The point I'm trying to make here is that even though you had full permissions over the file, you still had to turn off its read-onlyness before you could make a change. Well I'm trying to do something similar in Linux. Under Linux, the root user has full permissions over every file. But I need to make a particular file read-only so that not even the root user can alter it. I have a few programs on my computer that need to be run as root because they do some low-level networking (raw sockets and the like), and these programs alter my "/etc/resolv.conf" file. Well I need to find a way of making my "/etc/resolv.conf" file READ-ONLY, even for the root user. It doesn't seem as though the Linux filesystem provides a means of doing this, reason being that the root user will always be able to alter any file it wants to. I was thinking though... there's some way I could turn my "/etc/resolv.conf" file into a virtual file of some sort, like maybe I could use some sort of mount program to mount the file as read-only... ?
I use CentOS 5.3 and I am trying to send a simple email through mutt.My command is:echo "test" | mutt -s "test email" myemail addressI have no errors displayed but the email never goes out of the machine. Also the /var/log/maillog is empty.I can see the queued email with:sendmail -bpSo emails never go out.This PC is connected to a network which the gateway is another Linux machine which is configured to be the default gateway in my /etc/resolv.conf as nameserver.
View 2 Replies View RelatedI need to change a filename but when I boot up I get the message root device is read-only. Is there a way of changing this so that I can change the filename. I have a Mac Pro running Leopard OSX. The graphics card an NVIDIA 7500GT or driver has failed. It was suggested elsewhere that I change the relevant kext files to filename.kext.old, which I did, now when I try to boot start in OSX I get a message in various languages telling me to restart. I have tried booting in safe mode and from original Installation CD. In Safe Mode I get the same multi language splash screen, from CD I still have the graphic card problem, screen freezes and artifacts appear. So I boot up straight into CLI by holding down CMD-S hoping to be able to change filenames back but it says device read-only.
View 2 Replies View RelatedAccidentally I changed the ownership of all the directories under / to my own instead of root:root. Now I am unable to use sudo and many bad things are happening. Is there a way to revert the changes or change the permissions again to root:root or make sudo work ?
View 3 Replies View RelatedI have a bit of a dilemma.
I'm using XFCE and it doesn't by default lock the screen before hibernating. I see this as a bit of a security risk, and as I can't hibernate while the screen is locked, I'm a bit lost as to how to achieve this.
I've begun editing /etc/acpi/hibernate.sh, here's what I have so far code...
If I run with sudo, the system hibernates, but gnome-screensaver will not fire. I can verify this by trying "sudo gnome-screensaver-command --lock". The screen goes black, but is not locked. The screen locks properly without sudo.
So the only solution I can see is to edit /etc/acpi/hibernate.sh in such a way that gnome-screensaver-command runs under the current user, and pm-hibernate is called as root.
Also, when I click the HIBERNATE button in XFCE, how does it call pm-hibernate under root without prompting me for a password? I normally wouldn't be interested in such things, but as it seems relevant to my problem I'm a little more eager to learn
I receive a lot of emails daily, and with the ever-growing amount of maildirs I'm in need to structure/optimize the browsing in mutt. My maildirs follow this naming scheme: .domain.category.sub_category
My goal is to break domain, category and sub_category into nested levels when browsing through the mailboxes. This is sort of achieved through the use of imap. But I stumble upon a few snags, so my questions are:
Is this nested mailboxes view possible by directly accessing ~/Mail and not using IMAP?
E.g. set folder="~/Mail" and set spoolfile="~/Mail/.INBOX"
When I start mutt I'm presented with all mailboxes available, which is what I want to get away from. I want to get directed directly into my default/main inbox like I do when accessing ~/Mail directly. How?
When hitting c (a defined macro, see configuration below) I again get presented with all the mailboxes available, and not the mailboxes at the current browsing level, e.g. mailboxes containing a specific category. To get this view I need to hit c+TAB. I've solved this by adding a <tab> to the c macro's. When finally getting mutt to present me mailboxes in nested levels they are only enumerated and not annotated with N, indicating new mail, or even better, total number of new mails in or under a folder. I know it's possible to define format on the different views, but is there one for this view? If so, which?
My mutt configuration:
set autoedit
set edit_headers
set reverse_name
set from='blapp'
set realname='Blapp'
set use_from .....
# Automatic viewing of html mail, but always prefer text/plain
set implicit_autoview
alternative_order text/plain text/html
I am coding some scripts for sending via irda to my PDA with another irda that has a triggering on the remote control. OK. What I would need is as follows. With MUTT, I configured it so that I can read my emails with the IMAP and gmail. It is cool. It is working with the last
Code:
mutt --version
mutt: invalid option -- '-'
Mutt 1.5.20 (2009-06-14)
which is annoying with "--" but ok, it works. I would like that a script export the last 10 emails to 10 x TXT files with in it:
[Code]....
I have successfully migrated my linux install to a new /, /home, /boot partition on my ssd. Everything works fine, except that it won't make the root directory on the right disk. When I change the root=uuid=<drive id> to my new drive everything is fine, but I can't automate that... in other words I have manually typed the uuid of my root-partition for about 100 times now and I am fed up with that how I can save the uuid of my new drive in the startup parameters?
View 2 Replies View RelatedI have a post on [URL].. with "how to configure mutt mail client for mail server other that gmail" subject and it has no good result and at the end the person who answered me said it may be a mutt bug that I had to report it ,but I thing mutt is old enough to not to has this such a big bug. My problem is when I configure mutt with gmail it works fine but when I configure it with mine it returne segmentation fault error.and don not want to use other mail client in place of mutt. why mutt mail client get such this error with my configuration?
View 3 Replies View RelatedI want to make it now because it is still under the size of a dvd 3.7GB and i want to put it safe on a dvd to restore fast and not have to customize anything in case of a disaster , like me running dd again )
View 14 Replies View RelatedI restarted a server yesterday for the first time in 2 years, but a shell script that send out an email every night via a mutt command line didn't work last night.
I don't know anything about mutt. do i have to start something in order for it to be able to work? is there a log i can look at to see what did or didn't happen making it not work?
I am trying to configure mutt to send email via command line . It works fine when I configure it for gmail as follows:Quote:
# SENDING MAIL
set copy=yes
set smtp_url = "smtp://mymail@smtp.gmail.com:587/"
[code]...
I am getting an error as below.
How do I resolve the error: make[2]: *** No rule to make target `', needed by `mpg123'.
How can I resolve this error.
I wonder how I can do to make an application launched as root, without having to go to console and run it from there?
View 14 Replies View RelatedLots of password threads, but I didn't see this.
Installing Debian 6.0.2.1 amd64 on a Dell Optiplex 740.
The default install (simple graphical) works OK. But when I install "graphical expert", the same root password seems to be OK during the install, but doesn't work when the system comes up.
A. I have used a very short pw. It worked before.
B. The root pw is the same as the user pw. It worked before.
I am installing from CD and from DVD, both downloaded and burned as iso. In both cases, I asked for "graphical desktop" and "standard utilities", no servers, no laptop, no SQL.
I am trying to find a good text based email client for an older machine, which will not run the GUI correctly due to min. hardware; however, I want to be able to use it with Text based email clients.Can anyone recommend a good text based email client that supports TLS/SSL for securied connections for IMAP, or even POP3?Does MUTT support SSL/TLS?
View 2 Replies View RelatedRecently I tried to install Fedora 12 x86_64 to my laptop. I ran the live fedora image from my cooldisk and then pressed "Install to Hard Drive" from live desktop. Then I went forward until I reached the partitioning section. Though I had ~28GB free space in my Harddrive, but it says: "Could not allocate requested partitions: not enough free space on disks." You can see my steps until reaching this problem in these 3
pics:
step1:
step2:
step3:
I captured these steps by using Fedora 12 Live printscreen tool. I tried to install Fedora12 from its non-bootable DVD too, but no difference! So there's only 2 situations:
1. I did something wrong -> install Fedora and use its partitioning tool.
2. There's a bug in Fedora -> confirm that this is a bug and say me an alternative way to install fedora.
I was trying to make shutdown without root user using visudoI tried the following still it did not work for mehawk ALL=NOPASSWD:/sbin/shutdown -h now
View 6 Replies View RelatedFor my Project purpose , I need the terminal as root user by default. I dont want to enter the super user password all the time..
View 3 Replies View RelatedI need to make my website autostart after reboot. I may just add it to rc.local but i don't want it to start under root
View 1 Replies View RelatedIs it possible to make root password visible as asterisk(or any other character) on using sudo command??urrently,it does not display anything on monitor,thus,making it difficult to count the number of keystrokes pressed...
View 5 Replies View RelatedI am attempting to PXE boot Redhat 5.4 and load the OS into RAM. Here is how far I have gotten so far:
I have successfully configured my DHCP, TFTP, and PXE servers. The PC that is booting up Redhat 5.4 is able to get a DHCP IP address from the server, grab the kernel and initrd from the TFTP server, and boot up from there. I have this setup working if I store the root file system on a NFS share on the server and use the kernel's NFSROOT parameter. Long story short, I now need to get this same setup working without using NFS if possible. I have spent several hours google searching how to create a RAM disk (initrd) that also contains the root file system. I must be searching the wrong keywords. Anyway, based on what I have read so far, I need to do the following:
1. I need to pass different kernel parameters. It needs to look something like:
2. It seems like newer versions of initrd are created using the cpio tool. So would this simply be a matter of booting to my hard drive that has Redhat 5.4 loaded on it and running:
To create the RAM disk with a root file system attached to it? I have a feeling it has to be more complicated than that but I just cannot find any sites that specifically explain what would be involved with creating an initrd file that can also be used as the root file system.
3. Would I need to modify the init script (many sites call it "linuxrc") at all in order to accomplish what I want to do? For example, I found this site:[url]
My understanding of this page is that you have to create a linuxrc script that basically does the work of decompressing the file system into /dev/ram0 and mounting it to /root. Is something like this actually needed?
4. The kernel must have certain parameters set such as enabling RAM disk support.
I have most of this setup working. I just need to figure out how to basically store the contents of the OS on the TFTP server and then tell the kernel to load that OS into memory. Based on what I have read, this should be possible (otherwise, how do Live CD's work?).
mutt-1.5.16-36 on opensuse 10.3 lacks SMTP support as shown in mutt -v ("-USE_SMTP"). Does anyone know which version of mutt would have it for opensuse 10.3 and where can I download it from? I don't want to compile from source or use an external program.
View 3 Replies View RelatedWhen running MUTT on a RHEL 5.4 box, I get the message:
------------------------------------------------------
Server certificate has expired
This certificate belongs to:
localhost.localdomain
Unknown
SomeOrganization
SomeOrganizationalUnit
[URL]
I choose "accept always", but the same message appears next time. I do not wish to have a certificate requirement for MUTT and did not intentionally set the program up to include this feature. How can I get rid of it? My second choice would be to get a new certificate, but then I have to go through this every year. I have MUTT working on two other servers and this does not happen.