Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11th April 2008, 05:58 AM
New Fedora User Offline
Registered User
 
Join Date: Nov 2006
Posts: 88
How do I get a TTY?

I'm trying to run TrueCrypt to encrypt a hardware drive. It keeps telling me that I have to have a tty to run sudo. What am I doing wrong?

Last edited by Dan; 11th April 2008 at 05:59 AM. Reason: Edited to comply with guidelines.
Reply With Quote
  #2  
Old 11th April 2008, 02:02 PM
JEO Offline
Registered User
 
Join Date: Jan 2006
Posts: 2,769
Try opening a terminal window (which is also a tty) and then type
sudo truecrypt
Reply With Quote
  #3  
Old 12th April 2008, 02:41 AM
New Fedora User Offline
Registered User
 
Join Date: Nov 2006
Posts: 88
That didn't work either. I just got "sudo: truecrypt: command unknown." I think Fedora just won't let TrueCrypt run the sudo command for me. It wants me to run it from the terminal screen. Any way around that???????
Reply With Quote
  #4  
Old 12th April 2008, 05:23 AM
forkbomb's Avatar
forkbomb Offline
Registered User
 
Join Date: May 2007
Location: U.S.
Posts: 4,852
Quote:
Originally Posted by New Fedora User
That didn't work either. I just got "sudo: truecrypt: command unknown." I think Fedora just won't let TrueCrypt run the sudo command for me. It wants me to run it from the terminal screen. Any way around that???????
So... uhh... I hate to ask. Have you installed truecrypt? How did you set up sudo (post /etc/sudoers)? As far as "Fedora not letting truecrypt run the sudo command," truecrypt doesn't "run the sudo command." Sudo is an independent command used to run the second command with root-like rights. If you've set up sudo right, there shouldn't be an issue there.

A bit of clarification regarding ttys: A tty is a virtual terminal, of which on a Linux distro there are typically 7. One of these is reserved for a GUI session (usually #7). They're almost always accessed with Ctrl-Alt-Fn (e.g. TTY1 is Ctrl-Alt-F1, then switch back to a GUI session with Ctrl-Alt-F7). The GNOME terminal is not the same thing as a TTY.

But in this case, it doesn't matter. I find it hard to believe you absolutely have to run truecrypt from a TTY as opposed to a terminal emulator for X. Both provide a functional text shell with which to run commands and send calls to the kernel.

EDIT: come to think of it, if you've installed truecrypt and still get the "unknown command" issue, you might have a path issue going on and may need to add your sudoer to the wheel group?
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner

Last edited by forkbomb; 12th April 2008 at 05:26 AM.
Reply With Quote
  #5  
Old 12th April 2008, 04:19 PM
New Fedora User Offline
Registered User
 
Join Date: Nov 2006
Posts: 88
1st of all, I am not a developer, nor do I have that much experience using Fedora or any version of Linux. So, please bear with me if my questions look like I don't know what I'm doing.

I am using a binary executable version of TrueCrypt because the last time I tried to "install" it, I didn't get a GUI icon for it anywhere. Is that supposed to happen, or am I just always supposed to type sudo TrueCrypt for the command prompt?????

I did have to add myself to the sudoers file. Either way, I'm not getting anything from the terminal screen.
Reply With Quote
  #6  
Old 12th April 2008, 04:27 PM
forkbomb's Avatar
forkbomb Offline
Registered User
 
Join Date: May 2007
Location: U.S.
Posts: 4,852
Depending on where you put the binary, that's probably the issue. It's not in the sudoer's path, so you'll probably need to give an absolute path to it when launching it or cd into the directory first.

When you run the command try this next:
Code:
sudo /path/to/truecrypt/binary
Where'd you get the binary from?

EDIT:
Code:
I am using a binary executable version of TrueCrypt because the last time I tried to "install" it, I didn't get a GUI icon for it anywhere. Is that supposed to happen, or am I just always supposed to type sudo TrueCrypt for the command prompt?????
Not exactly sure (never used it before), but it may be entirely possible that it doesn't have a GUI frontend. If you're being told to run it with sudo, it's probably a command-line utility...

Making menu items, depending on your graphical environment, is typically quite easy provided you have a suitable image that will work as an icon.

I'm compiling it as we speak to see what we're looking at. I'll get back to you later (gotta run to "the office" for a minute).
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner

Last edited by forkbomb; 12th April 2008 at 04:33 PM.
Reply With Quote
  #7  
Old 12th April 2008, 04:36 PM
New Fedora User Offline
Registered User
 
Join Date: Nov 2006
Posts: 88
I'm getting the rpm for truecrypt from here:

http://www.lfarkas.org/linux/packages/fedora/8/i386/

I tried to install it and didn't get an icon in my Applications menu or anywhere. I uninstalled it and found the binary by browsing through the RPM file.

The binary doesn't have an icon symbol to use either, I had to get the symbol for TrueCrypt online and put it on the binary.

Last edited by New Fedora User; 12th April 2008 at 04:40 PM. Reason: Quick additon
Reply With Quote
  #8  
Old 12th April 2008, 05:36 PM
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 45
Posts: 3,907
so it is not installed just extracted from the archive
THAT IS WHY IT DOSE NOT WORK
did you see this How-to
http://www.howtoforge.com/encrypting...ypt-on-fedora8
it was the second listing in google
and use su - and not sudo UNLESS you have set it up already and it WORKS
just double click on truecrypt-5.1a-1.i386.rpm and install it
or Fallow the instructions in the How-To
Code:
cd /tmp/
wget http://www.lfarkas.org/linux/packages/fedora/8/i386/truecrypt-5.1-1.i386.rpm
yum localinstall truecrypt-5.1-1.i386.rpm --nogpgcheck
__________________
Running Arch ,OpenSUSE 11.4-64bit & Scientific Linux 6.1-64bit ( fedora 4 to 11)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10
Reply With Quote
Reply

Tags
tty

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

Forum Jump


Current GMT-time: 10:24 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat