Ubuntu :: Recuire Password To Run Command?

Sep 13, 2010

I have a shortcut on my desktop linking to my server, it looks like:

Code:
firefox <server IP>
What i want it to do, is when i click it it will ask for a password, if the correct password is entered then it will execute, if not it will close. This is not for security and i know it is very easy to bypass, but i don't want it to be so easy for my friends to start sneaking around my server and then don't know how to take it away anyway.

I tried gksudo, but this run firefox with root privileges, that is not what i want, i want it to run firefox as a normal user, maybe there is some way of using gksudo and running firefox with normal privileges?

View 1 Replies


ADVERTISEMENT

General :: Mail Server : Reset The Password For It Using The Password Command From The Root Login?

Jul 23, 2009

I am an absolute Linux Beginner who is being required to do a bit of admin work because the boss just fired the old linux admin. Unfortunately, one of our employees cannot remember her password to her email account and as such I need to reset it on our linux server.What I want to check is that this email account is actually a linux user account and I simply will reset the password for it using the passwd command from the root login. Is that correct?

View 1 Replies View Related

Software :: Password Command Doesn't Recognize Valid Password

Nov 23, 2010

I migrated an old SuseLinux 10 box to Debian (Lenny) a couple months ago, and apparently no one noticed you can't change your password. Root can do it because passwd doesn't ask root for a password, but no one else can (although they can log in, passwd doesn't recognize their login password when they attempt to set a new password and it asks).I changed authentication to use blowfish when I setup the server (because the SuseLinux 10 system used it) and apparently the passwd command doesn't work with that. Apparently I need to update another configuration file or possibly get a different program to update the passwd file if I use blowfish. Any ideas?

The weird thing is that it can generate a blowfish hash to set a new password, but apparently can't generate one to authenticate the user.something changed recently and it is no longer generating a blowfish hash when setting a new password. It is generating a hash with only 13 characters. And I can clearly see that many users have changed their passwords.

View 1 Replies View Related

Software :: Cant Change Password With The Password Command?

Dec 8, 2010

For some reason passwd does not accept my current password as the old password when i try to change my password with the command passwd. Im not sure whats wrong with whatever linux uses to handle passwords but I cant even change passwords with the root user account. Is there any way to fix both of these problems.

View 3 Replies View Related

Ubuntu Security :: If Password Is Wrong Then Run A Command

Aug 23, 2010

I want that in the phase of "login" and in the phase of "lock screen", if password is wrong, then Ubuntu runs my custom command.

View 3 Replies View Related

Ubuntu :: Bypass Password For A Sudo Command?

Apr 3, 2011

I have to enter the root password every time I want to run

Code:
sudo vpnc
and I know that there is a way to avoid entering password every time but I can't remember what it is.

View 9 Replies View Related

Ubuntu :: Sudo Command Doesn't Recognize My Password?

Jun 18, 2010

This is a new installation.My system login password is recognized and that same passwd is recognized by the Software Centre, but not with sudo in the terminal.

View 2 Replies View Related

Ubuntu :: Create One User Without Password Using Useradd Command?

Jul 1, 2010

I want to create one user without password using useradd command. Is there any way we can do the same? I have googled it but couldn't get the perfect solution

View 1 Replies View Related

Ubuntu :: Extracting .rar Packages - Insert A Password In Command?

Oct 17, 2010

Is there a easy program that uses a GUI or am I going to need to do this from the terminal, either way I don't care I just need to be pointed in the right direction. I installed the 7zip package and started using it in the terminal but I can't figure out how to insert a password into my command. 7z x <package> [LOCATION] ?

View 9 Replies View Related

Ubuntu :: Lost Password - Can't Boot To Command Line

Sep 1, 2011

I don't recall my Ubuntu password.**

I found instructions regarding recovery.

They involve pressing Ctrl-Alt-F1 while booting the Ubuntu live CD.

If I allow the live CD to boot, I arrive at a Ubuntu GUI.

However, if I press Ctrl-Alt-F1, the monitor (HDMI TV) goes blank and indicates "no signal

correcting the password from a GUI (can I just go to a command prompt from there somehow, and work from that command prompt?) or getting my video to display when I press Ctrl-Alt-F1?

** (I remember trying to set up the system with NO password).

It's absurd to require one.

Especially so if a person with a live CD can simply change it (I guess at least the change would be detected).

View 1 Replies View Related

General :: Can't Input Password In Command Line (ubuntu)?

Sep 19, 2010

When Linux ask for my password in command line,my keyboard becomes unresponsive just for that moment or let me put it this way,until i need to write my password my keyboard is unresponsive,but for all other things is fine.or for example,i can input my password when i have a graphic interface but i can't with command line or i can't login to my computer from command lineexcuse me if my question is doll,i moved from windows to ubuntu just lastweek,( & i am flying high in sky with ubuntu & digging a very deep hole for windows too!!.)

View 2 Replies View Related

General :: Execute Ssh Command Without Password?

Oct 3, 2010

How do I set up SSH so I don't have to type my password? i execute the following command ssh -l admin hostname command but each time i execute it, it ask me to enter password.how i can give it password as default because i'm going to put in bash file ?

View 2 Replies View Related

General :: How To Use Password Protection With Tar Command

Apr 19, 2011

How can I use password protection with the tar command in Linux? I'm new to Linux so please explain to me with simple usage.

View 2 Replies View Related

Red Hat / Fedora :: Set Password In Single Command?

Dec 1, 2010

Can we set password for linux board's in non-interactive mode.I didn't find suitable option for this in man page.

View 1 Replies View Related

General :: Add More Users And Password In One Command?

Sep 23, 2010

I am new in Linux.Problem is that how to add a more then one users in a one command and also add a password to them?

View 2 Replies View Related

General :: Command For Smbclient With No Password?

Jun 25, 2011

I have a samba server setup it works fine for the users with their username and passwords. by executing the following command.

smbclient //fedora.com/one -U bigbob

it prompts password . If i give password i got

smb>

my question is that how can i login if the users doesn't have their passwords(public share) ?.. I mean smbclient command !!

View 1 Replies View Related

General :: Add Password Paramtre To Ssh Command?

May 13, 2010

I dont want to use ssh key authentication.I have a simple script which I need to ssh to remote machine and all I want is to supply the password on the same ssh commandline

View 4 Replies View Related

CentOS 5 :: Su - Command And Incorrect Password?

Feb 23, 2011

I have a new install of cent os 5. When I try to use the su - command. I get a invalid password error. I am using the correct password.

View 1 Replies View Related

Ubuntu :: Sshfs Command In Launcher With Password-protected Private Key?

Jul 13, 2010

I'd like to connect to a site via the sshfs command from a launcher on the task bar. The problem is, instead of prompting for the password for my private key (key based authentication)the launcher freezes the computer.The command runs fine from the terminal... but is there a way to add a password prompt to a launcher?

View 2 Replies View Related

Fedora :: Command Line Won't Recognize Password

Aug 3, 2010

While trying to download themes for fedora 12,I get to the end it ask for my PW (in sudo) then says it is incorrect.When in graphic inter phase all my passwords are excepted.I've been reading the linux manuel. but can't find the anwser.If I am to put anouther password in where do I do that and how.

View 13 Replies View Related

General :: Passing SSH A Password Through Command Line?

Aug 4, 2010

I am writing a script to get hardware information of a particular UNIX machine. To do this, I ftp a shell script (commands to get h/w information) to the target machine and then use SSH to remote the remote script.With FTP, I can pass a password accepted as input the shell script. How can I pass the same password to SSH ? This is because I do not want the user to enter the password twice.

View 5 Replies View Related

General :: Run One Command As Different User Without A Password Prompt?

Aug 4, 2010

I need to run one command as different user with out a password prompt.

I did this

Code:
one localhost= (two) /usr/bin/whoami

This work but it prompts for password. Is there a way that can be done with NOPASSWD option ?

View 1 Replies View Related

Red Hat :: Change Root Password With The Passwd Command?

Jan 15, 2010

I have Red Hat version 4 I was trying to change the root password with the passwd command.I get the error passwd: PAM [dlerror: /lib64/security/sufficient: cannot open shared object file: No such file or directory] I have change the password before.

View 5 Replies View Related

Ubuntu :: CLI Version Of 10.04 - When Rebooted The Command-line Login Would Not Accept My Password

Jun 8, 2010

I have an old PC (130mb RAM, 6gb hard drive).

I installed a command-line version of Ubuntu 10.04 using the Alternate CD. The machine was wiped, and I used most of the default settings.

I used a thirteen character user id which consisted of mixed case letters and numbers, and an eighteen character password that contains mixed case letters and numbers and a # sign.

When I rebooted, the command-line login would not accept my password. I assumed I had somehow made a mistake, and just wiped the machine again and reinstalled. This time I was very careful with the user name/pw.

Again, the command-line login did not accept my password!

On a hunch, I took an old Ubuntu 7.10 Alternate CD and erased the machine again. I installed a command-line version of Ubuntu. AGAIN --- it will not accept my password even though I'm 100% sure it is correct.

View 2 Replies View Related

Red Hat / Fedora :: How To Disable Login And Password By Command Line

Feb 10, 2011

I have Fedora 14 with minimal installation (without graphical interface and so on) and the application I've been working needs to be initialized on boot up. So, I need to disable the login prompt (and password) by command line. How can I do it? I've seen by GUI, but with command line nothing...

View 2 Replies View Related

General :: Creating User With Password In Single Command?

Jan 16, 2010

I'm trying to create a user john with default password 'abcdef'. I used the following command.

useradd john -p abcdef

I can't login with the password. in /etc/shadow file I can see the password in clear text format. how I can create a user along with password.

View 3 Replies View Related

General :: Sudo For A Single Command With No Password Entry

Apr 20, 2010

I wish to allow a user to use sudo to run a single command (service app status) to determine if my application app is running, in my sudoers file i have: user ALL= /sbin/service app status I understand that there is a parameter called timestamp_timeout that will set the timeout for the 'user', but requires at least 1 entry of the root password.

I wish to allow the user to do "sudo service app status" and not have to enter the root password ever(maybe once is ok), but still make the user enter the root password for all other root activities. Is there a way to prevent the password entry for this command only and no others?

View 3 Replies View Related

General :: Change Password Of An User Using Usermod Command?

Jul 20, 2010

I am trying to change the password of a user by 'usermod' command. let us assume that there is a user named "test" to change the password of the user we can type "passwd test" which will change the password of the user "test". I want to change the password similarly using the command "usermod". when I give usermod -p yahoo test"(yahoo is the password which I want to set), I am not getting any errors but when I switch user to test, I am unable to login.

View 1 Replies View Related

General :: Specify Password For Sudo Command When Running Bg Process?

Jun 23, 2010

I'd like to start a background job using the sudo command and route its output to a file. This presents a problem because the prompt for the password doesn't work properly. It looks something like this when I try it:

Code:
Mac:server user$ sudo php crossdomain_server.php > data/crosscomain_output.txt &
[3] 30303
Mac:server user$ Password:
[3]+ Stopped sudo php crossdomain_server.php > data/crosscomain_output.txt
Mac:server user$

Basically I'm not properly prompted for the password and as soon as I type anything in my background job fails because it didn't receive the password. Is there any way to execute a sudo command by supplying the password on the same line as the command?

View 9 Replies View Related

Fedora Security :: Suddenly Root Password Invalid For Su Command?

Apr 9, 2011

I have recently installed Fedora 14 on a new computer we presented as a gift to my sister-in-law. She is new to Linux. Although I've used Fedora since Core 1, I'm no expert on security issues, and this baffles me. She's doesn't know how to change the root password, so why doesn't it work any more? She discovered the problem when attempting a yum update from a terminal.(1) How could the root password have gotten changed? How likely is it that someone got onto her system through ssh, made a lucky guess on her root password, and then changed it? Are there robots that do this?

(2) The firewall is enabled. I have it set up as follows: (a) under "Trusted Services," only ssh is checked (I need to be able to get in remotely this way); (b) under "Trusted Interfaces," I have eth0 checked (I need to be able to use VNConto her desktop).Question: Are these settings giving ample protection? What settings would be recommended to protect her system while at the same time allowing me to access it through ssh and VNC?

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved