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


ADVERTISEMENT

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

Fedora :: Several Scp's And A Single Password?

Sep 12, 2009

I want to create a script in bash to allow me to retrieve some files I have in a cluster. Access is through ssh, and the command I use to copy files is scp. The problem here is that when the script is run it asks for the password three times (it is instructed to copy from three different folders).

It doesn't matter if I use

Code:
scp user@server.com:/home/user/FolderA/* .
scp user@server.com:/home/user/FolderB/* .
scp user@server.com:/home/user/FolderC/* .
or

Code: scp user@server.com:/home/user/FolderA/* user@server.com:/home/user/FolderB/* user@server.com:/home/user/FolderC/* it still asks for the password three times. Is there a way I can use scp that asks for the password once?

View 3 Replies View Related

Fedora :: Does Sudo Have To Ask For Password Every Single Time?

Feb 9, 2011

It seems that every time I use the 'sudo' command I have to type a password. Is there a way to get 'sudo' to remember the password at least for the current session after I use it once or something like that?

View 14 Replies View Related

Fedora Security :: Reset The Root Password By Booting Into Single Usermode By Editing Grub

Apr 17, 2009

Being able to reset the root password by booting into single usermode by editing grub. This is a MAJOR flaw. I know it makes no real difference against internet bourne attacks, but even so I must say I found it shocking. The only way I've found to stop this is to encrypt the entire HDD, so noone could get into single user mode without first knowing the encryption key/password.

View 14 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

Ubuntu :: Password Protect A Single Workspace?

Dec 14, 2010

it is possible to password protect a single workspace. Say for example, 1-3 are accessible and number 4 password protected.

View 1 Replies View Related

General :: SCP - Username And Password In Single Statement

Sep 13, 2010

I am trying to create a "GUI File Transfer " Application , for transferring the files within the network. For That I will obtain User name, Password through the GUI, I will have to append username and password in a single line and run it . I am facing difficulties in exploring the "command",

View 4 Replies View Related

Red Hat :: Bootalbe In Single User Mode Without Password

Mar 6, 2010

Still working scanning results, this time with DISA's SRR scripts.More than one scanning package complains about;The UNIX host is bootable in single user mode without a password..So, I assume in /etc/passwd there is an entry that corrects this?what is the specific syntax and where does it go ?

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

Software :: Lock Single User Mode With Password

May 8, 2009

How to lock the single user mode in linux with a password....??

View 1 Replies View Related

Red Hat :: Single User Mode Without Boot Loader Password And Without CD?

Apr 10, 2010

I need to recover the root password or reset it. For this, I am trying to follow the following steps to get into the single-user mode & where exactly I am getting stuck: 1. Reboot the machine2. Press <esc>3. At the boot loader screen, i have 'Red Hat Enterprise Linux Server ($version info)' highlighted. 4. Simply pressing 'e' (for editing) does not work (does nothing). 5. I have the option to press 'p' to enter boot-loader password and then go into the single user mode.What if I don't know the boot loader password as well & I want to get into the single-user mode WITHOUT using a boot CD? Is this possible? If so, please share the procedure to do so.

View 7 Replies View Related

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

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

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

Ubuntu Servers :: Single User Mode Not Taking Password?

May 2, 2010

I want to fix my disks with fsck but using sudo init 1 is not allowing me in. It shuts my services down, then gives a "Give root password for maintenance" prompt. I've tried my password, but it rejects it.

View 3 Replies View Related

Ubuntu :: Can't Log In \ Introduce Password The OS Takes Every Single Letter As An 'intro'?

May 29, 2010

Everytime I try to introduce my password the OS takes every single letter as an 'intro'. If I want to type, for example, 'batman', it will take every single character as an intro and therefore I can't get access to the OS.... what can I do?Btw, all of this began when I was trying to write something in a console. When I tried to type anything in the console was like If I was clicking on the 'close window' button, so I though I was a little bug and I had to restart.

View 9 Replies View Related

Ubuntu :: In 10.04 Get Into Single User Mode With Out Entering The Root Password?

May 8, 2011

in ubuntu 10.04 how to get into single user mode with out entering the root user password

View 1 Replies View Related

Ubuntu Security :: Is The Root Password In 11.04 For A Single Program Or For All Programs

Sep 1, 2011

I have ubuntu 11.04 installed along side windows. And I often share files with windows computers. If I am installing a new package from ubuntu software center, and consquently I have to log in as root to do so, which means I have given the system 'privileges' as the program is being installed, I decide to go open mozilla, and surf suspicious sites on the net. Is it possible in that case for me to get a virus?

When we enter the password for the root user in order to run one program such as ubuntu software center, does that mean that all programs have root privileges for the time being (as the software center is installing the program)?

View 3 Replies View Related

Ubuntu Networking :: All Users To Access All These Shares With A Single Login/password?

Feb 22, 2010

My question is probably very common, but I didn't find an answer.I have several computers, each with different user. Each user has a shared folder in samba. I want all users to access all these shares with a single login/password (not with the login/passw of each particular user)

View 1 Replies View Related

Ubuntu Security :: Program That Allows To Password Lock Single File Or Folder?

Apr 3, 2010

Is there a program that allows me to password lock a single file or folder?

View 5 Replies View Related

CentOS 5 :: Recover / Reset Password For Root Via Single User Mode

Oct 20, 2009

Can someone assist me with recovering/resetting the password for Root via Single User Mode in CentOS v5? I've modified the kernel line using Single, S, and 1 but it appears that these commands are being totally ignored as the server continues with the boot process and displays the GUI logon screen. The server in question is a VM box running on ESX v3.5 U4. The person that created this VM is no longer employed here and I've exhausted everything I know regarding Single User Mode.

View 12 Replies View Related

General :: No Prompt For Root Password After Attempting To Enter Single User Mode?

Jul 13, 2011

I followed instructions to enter single user mode by adding single at the end of kernel line but after that it doesn't ask for root password but brings up the sh# prompt. Isn't that supposed to be insecure? I understand for this the grub password can be applied but even after adding "single" it should ask for root password..or it should not..??

View 3 Replies View Related

Security :: Resetting Root Password In Suse In Single User Mode & Rescue

Jul 14, 2009

When I go to single user mode for resetting root password, It ask root pawssword for login.The message displayed on prompt is "Give root password for login.On the boot prompt, I select kernel and press 'e' and after one space type 1 for single User mode and then press 'b' for booting.It shows message entering in single user mode but ask root password. Even I tried into rescue mode, but I couldn't ser root password.In rescue mode on prompt, It shows rescue login: I typed root, But when typed 'passwd' foe resetting root pawssword,It shows message unknown user and not authetication.

View 1 Replies View Related

Ubuntu :: Can I Cd And Rm In A Single Command

Jul 19, 2011

I delete a particular file often. first I have to cd then I have to rm.Is there a way to do this on a single line?

example

cd ./ssh rm known_hosts

that doesn't but is there a way to do it?

View 6 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 :: Single Tab To Complete Command?

Mar 7, 2011

I have recently installed Ubuntu 10.10 Server onto a old PC. Everything seems to be working fine except that i can't tab the next command.Like when you are typingcd hom (Then you press tab and the 'e' appears.)When i double click tab I get a list of all the possible directories but I wont seem to work when I press it one time just to complete my command.Anyone got a clue how to fix this?(I am new to this community but I got to say i Love it. We use Ubuntu at our university and it rocks!)

View 3 Replies View Related

Programming :: Grep, Cut, Cat In A Single Command?

Apr 26, 2010

Would like to know how to cat the below output.

Code:
grep userlist_file /etc/vsftpd/vsftpd.conf | cut -c15-
Below which is the output for above command.

[code]...

View 6 Replies View Related

OpenSUSE :: Command To Upgrade A Single Package?

Sep 3, 2010

Is it zypper in <package> or zypper up <package> or both?

View 4 Replies View Related







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