Fedora :: ConsoleHelper - Making Apps Ask For Passwords
Jan 25, 2010
Many people would like not to have to open a terminal or have more granular control over permitions that can be achieved using PAM permissions(read the man pages for PAM for more information) and the consolehelper.
The sources for this comes from Red Hat manuals
Say we want to have gedit ask for a root pasword so we do the fallowing.
- Step 1 - Open a terminal. (Applications -> System Tools -> Terminal)
- Step 2 - Become root:
Code:
su -
- Step 3 - Create a symlink in /usr/sbin/
Code:
cd /usr/bin
ln -s consolehelper gedit-root
- Step 4 - Create a PAM configuration file in /etc/pam.d/foo:
[Code].....
Name it gedit-root.desktop and save it to /usr/share/applications/ and you are done. Now when you need to edit your config files you can just click on the gedit-root and it will open gedit as root.
ps: I took this configurations from the original gedit.desktop file and edited a little.
You can now make programs ask for permissions like nautilus when you want to navigate through root owned folders, you can make the nvidia settings start as root and you can now using the PAM file describe what can be done or not.
View 1 Replies
ADVERTISEMENT
Feb 2, 2011
Making iPhone apps. a simple process? where do i begin. i have no idea what I'm doing.
View 4 Replies
View Related
May 21, 2011
I'm using a java application that runs as an interactive command line (in a terminal). My problem is that it's rather unfriendly as an interaction mode as it's minimalistic: it doesn't allow going to and fro with arrows, there's no history and so on. So I have to type all commands every time and have to retype it if I missed something at the beginning of the line, or I have to copy and paste from a txt editor. The strange thing is that I have seen the same application running on a Windows box and allowing for all the sugar. So I'm not sure if it's because of the shell script I run (as opposed to the .bat) or whether it has to do with system or profile settings in my shell.
For information, the shell script starts with:
Code:
#!bin/sh
I've replaced it with:
Code:
#!bin/bash
In hope I would have something closer to my normal terminal. The app runs but it doesn't change anything to the interactive mode. I'm rather clueless regarding sh/bash and so on. I've seen the manuals but I'm not entirely at home understanding and using their options. I know that there's a .bashrc and perhaps something like a profile somewhere, but I don't really know how to do things with these without risking messing up.
View 9 Replies
View Related
Jan 7, 2010
I wonder if it is possible to have two passwords for one user account in 9.10. I have a long login password (5 words about 45 characters with spaces caps). I would like to set a shorter password for Authentication, sudo, etc. While retaining the original for logging in.In short:Have long password to login to computer.Have short password for everything after login.
View 6 Replies
View Related
Aug 1, 2011
I have winbind Active Directory authentication set up on my laptop. AD authentication works like a charm, passwords cache, etc. I can use sudo with no problem. However, I cannot use the root account -no matter what I set the root password to, the system will not take it. I also have a couple of normal system users (not winbind), and no matter what I set their passwords to, I cannot login.
View 4 Replies
View Related
Nov 24, 2009
Running FC11 64 bit and Firefox 3.5.5. Under Edit->Preferences->Security, I have checked the box "Remember passwords for sites". But Firefox doesn't remember the passwords. It does remember the usernames. Is there something else that I must do to get it remember passwords?
View 6 Replies
View Related
Mar 6, 2011
I'm having some problems of security in my Fedora 12... excess of security. It keeps me asking mi password everytime I want to perform an operation, and in some cases I'm pretty sure that this hampers me to work with some files.
Everytime I boot it, it asks about the password for the wireless network, and when I fill that out, another window pops up saying "Enter password for default keyring to unlock" (I press the "deny button" always for this one as it doesn't accept my user password.
I'm a newbie in linux and in programming, so I spend the days facing problem after problem and it's starting to drive me crazy. I'm not the root of the computer, but just a superuser (I hope that's not the problem)
Isn't it possible just to put my password when I start and then work without writing it anytime?
View 2 Replies
View Related
Mar 2, 2011
I mount my Fedora AMI on my EC2 account, when I reboot the system, the passwords for ec2-user and root are changed.On the web I found that is a "feature" .
View 1 Replies
View Related
Dec 22, 2009
I have Fedora 10 installed. I want my users to be able to use any password they want. So I edited /etc/pam.d/system-auth, the password section.
Was:
Code:
password requisite pam_cracklib.so try_first_pass retry=3
password sufficient pam_unix.so md5 shadow nullok try_first_pass use_authtok
password required pam_deny.so
Become:
[Code].....
View 2 Replies
View Related
Feb 9, 2010
So I've set up a Samba server through the gui. When I've labeled my shares as accessible to everyone, I can get to it no problem. However, when I tie it down to a specific samba user, I can't.
By all indications, it appears that it isn't saving the password because every time I go to edit users, it has the exact same string in the password field.
View 1 Replies
View Related
Jan 19, 2011
Do these guides work with resetting the current fedora root passwords?
http://www.labtestproject.com/linuse..._password.html
http://www.labtestproject.com/using_...d_on_fedora_10
View 6 Replies
View Related
Aug 2, 2010
We use a Linux server with AFS on it. I changed the linux root password using passwd. The new password will let me log in as root but when I try to change the AFS admin password it asks for the root password. When I put in the password that it let me log in as root. It tells me authentication failed. And when I run the password command with -admin admin, it asks for the admin password. I put in the admin password that worked before I changed the root and it says authorization failed.
View 5 Replies
View Related
Mar 31, 2011
I have a 389-ds with a large user base. All passwords are stored plaintext. I would like to convert all these stored passwords to a hash, say SHA-1.
View 2 Replies
View Related
Jan 25, 2010
While I've been using Linux for a little while now, I have only recently been getting into setting up and using a server at home (in part because until recently I only had ONE computer at home). I have heard of LDAP and OpenLDAP, but I am not sure if this is the best tool to do the following. Centralize logins and passwords for all of the computers at home, so I only have to change/manage one place. Since I keep installing Linux Distros it would be nice if I didn't have to add each person, individually each time.
Provide single sign-on authentication for the user so when they go to the Samba server they don't have to do another login, but they are limited in what they can see. Basically I don't want the kids being able to see *MY* files
- Works with Linux (various) and Windows (Windows 7 more than XP)
- Works with desktop and laptop
- Be able to, possibly, pass this authentication to the web server so likewise do not need to log into the web server after logging into the computer.
- (optional) be able to set up a script to run automatically to either map network drives or mount samba directories based on the user being logged in (smb://user/<username>) and/or backup the system.
I say optional because if it can that is great, but if it cannot then it isn't a show-stopper. Like I said, I am very new to servers and networking and do not know where to start regarding this. Right now I have a basic (too open) file server and a web server just beginning to be developed (working on Drupal). Not only do I need to figure out what/where to research about the server settings but also setting up the client-side of things.
View 3 Replies
View Related
Jun 12, 2011
I am new to Linux. I have a new ntfs usb external drive. I have attached to the Linux server but can't locate it. I would like to
1. mount it.
2. format to Linux file system
3. and then create share folders with passwords using samba.
View 2 Replies
View Related
Apr 30, 2011
Some minimized apps no longer appear in the top menu and by that are no longer accessible.For example firefox with the minimize addon or Jungel Disk backup service.How can I reach apps that minimized them self and are not shown in the top menu?
View 2 Replies
View Related
Jul 2, 2009
If any of you have successfully created a video hosting server with Fedora, can you give me any ideas of what software to get and how to configure it and so on? Or, if you have been unsuccessful, can you tell me what doen't work?
View 1 Replies
View Related
Jul 23, 2009
When I installed Fedora I wasn't paying attention and used my whole hard drive for Linux. Now my Vista is gone, and I don't have an NTFS Partition to reinstall it. Obviously this one is not formatted right... But I want to know how I can add a new NTFS partition to be able to reinstall Vista. I don't care if I have to delete Fedora... I'll just reinstall later using more attention.
View 8 Replies
View Related
Jan 14, 2010
my KDE is making segmentation fault. KDE is not required to restart but this segmentation fault is making every time (after 2 min) when i login to kde/fedora. this is making me annoying.. my linux info is following:
uname -r # 2.6.31.9-174.fc12.x86_64
KDE: 4.3.4 (KDE 4.3.4)
problem:
[code]....
View 5 Replies
View Related
Mar 30, 2011
I'm using Fedora to program Android, and have a directory with all the files I need. But my home directory isn't big enough to store my android directory. Is there any way to make more space to do this?When I have tried to install something using "sudo apt-get install (program name here), it says my name isn't in the sudoers file. What is this and how do I add my name to it to be able to install things from there?
View 6 Replies
View Related
Jan 24, 2011
I have recently used PowerTop to get information about what settings I could tweak to make my laptop more power efficient. However, my problem is that all such changes seem to dissapear as soon as I reboot my machine. For example, if I run:
echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
This value will have been rewritten to 500 when I reboot. Is there any way to change this, and make sure that any and all changes I do to my system remain permanent until I change them to something else? This question is of course not limited to Powertop, I would also like changes I do via for example cpufreq to be permanent as well.
View 5 Replies
View Related
Mar 31, 2010
How do I run applications from the Fedora 12 cmd line? Like if I wan to run Twitux (Twitter App) from the cmd line, how would I do it?
View 5 Replies
View Related
Jan 31, 2011
I'm running Fedora 14 KDE. I've configured my HP LaserJet 2300 printer in System Settings, and can print the test page fine, but when I try to print from an application such as Firefox, the application seems to think it's printing, but it doesn't actually print. I see no dialog box telling me that a job was created. There are no new jobs in the printer applet. Where are my print jobs going? I'm not really even sure where to look. I don't see anything printer related in /var/log/messages.
Well, looks like I got it fixed. Not sure exactly why, but restarting CUPS seems to have resolved it. We'll see if it stays working,but for now, I can print...
View 2 Replies
View Related
Jun 26, 2011
I am a complete Linux beginner, and have just installed F15 with Gnome for my desktop.
How do I get applications that may be installed but are not on the desktop, onto the desktop with an icon? I want to run iPython now, and soon I will want to run an Office suite...
View 6 Replies
View Related
Aug 31, 2009
I have this weird problem. some of the apps like gnome-system-monitor, gnome-power-preferences, nm-applet(when clicked on edit connections) keep crashing.
the moment I log in into my gnome desktop, all the apps work fine for a minute. the problem starts after a while say 5 mins... I will not be able to run any of these apps. I always get the crash window.
Iam using fedora 11 on a toshiba satellite m200. this problem has been there for a long time now. initially I thought that software updates will make it ok. but even after several updates, the apps keep crashing.
is there a way to fix this?. everytime I need to access them, I need to logout and login and then acces them quickly before they start to crash. this is quite time consuming and irritating.
View 14 Replies
View Related
Aug 24, 2009
I'm syncing a server over the internet with rsync, but it only works for a few hours before the backup fails with a "No route to host". I can restart the job and it'll will pick up where it left off, but is there an automated way to do this, or protect against a connection failure? I have about 170GB to copy over initially, but I can only get through about 4-5GB before the connection drops--manually restarting the sync everytime it drops will make the initial backup take days...
View 2 Replies
View Related
Dec 21, 2009
I've just upgraded to Fedora 12 from Fedora 10. When I was using F10, I changed the desktop background (Using Gnome and right clicking on the desktop to see settings)nd then selected the option to make it the default so that the chosen wallpaper appears when I try to log in. However, I can't see this option in Fedora 12.
View 7 Replies
View Related
Jul 6, 2010
some of you might have experienced the network speed problem that occurs when ipv6 is enabled. So have I. I know about the common workaround of disabling ipv6, but recently I tested the new ubuntu live system, and the problem was gone with ipv6 being enabled.
Now my question is: Do you know what ubuntu is making different? I haven't found an explanation. Is there a better workaround than blacklisting ipv6?
View 1 Replies
View Related
Jul 24, 2010
For the past 2 days my CPU Is making some abnormal sounds while its running. I googled it for a long time and got this website which says there could be some problem if the linux things arent properly installed.
what exactly the problem may be and what i can do to control it.
[URL]
View 5 Replies
View Related
Aug 1, 2010
Wich software are the best for music making and mixing on Linux? Something equal to Traktor or VirtualDJ on win?
View 3 Replies
View Related