Software :: Install Passwd, Gives Error About Shadowconfig?

Jan 19, 2010

I'm in debian trying to install passwd. It's giving me a heck of a time with shadowconfig, because that program tells me what's wrong but doesn't fix it for me. Basically it is saying that there are a lot of entries missing from my shadow file. So how do I add them? I don't want to have to do it all by hand.

View 4 Replies


ADVERTISEMENT

Debian :: "passwd: System Error" After Squeeze (testing) Install?

Mar 24, 2010

The strangest thing happened. I installed Debian testing with the "squeeze Alpha1" netinstall cd. All seemed to go well and the installer made me pick a root password and create a normal user account. However, after the first boot my user account did not work and I could also not login as root, it looked liked I forgot the passwords for both accounts. When rebooted in recovery mode, I got Code: sulogin: root account is locked and I was automatically logged in as root without being asked for a password. Then I found out that the normal user account does not exist. I created a user acount and logged into it. I did passwd to set a password, but I got Code: passwd: Authentication token manipulation error Also, there was no home directory for the new user.

View 6 Replies View Related

General :: Delete /etc/passwd And Recover It With /etc/passwd - From Runlevel 1 The Lastly Created User Is Not Having His Account After Recovery?

Jan 14, 2011

we know that /etc/passwd - is a replica of /etc/passwd file and acts as a backup in any damage done to /etc/passwd file..i have observed a strange thing in RHEL 5.4....for example... if /etc/passwd has 100 accounts.. then /etc/passwd - is having only 99 accounts....when i add 101 useraccount with "useradd" then /etc/passwd has 101 accounts and /etc/passwd is having the 100th account of /etc/passwd - ..when i delete /etc/passwd and recover it with /etc/passwd - from runlevel 1 the lastly created user is not having his account after recovery.. what is the solution? this is same case even with /etc/shadow and /etc/shadow -

View 2 Replies View Related

Ubuntu Servers :: LDAP Passwd Change Error ?

Mar 15, 2011

I recently set up a LDAP server, and have a server using it to authenticate users.

That works completely, but when a user tries to use passwd to change his password this happens.

Code:

And this is in /var/log/auth.log

Code:

View 1 Replies View Related

Debian Installation :: Testing - All Logins Fail / System Error Message From The Passwd Command?

Mar 18, 2010

I just installed Squeeze on an older PC. Installation seemed to go fine. But when it booted up on the installed system for the first time, I could not login - username/password failure. I tried every possible typing error and CAP LOCK error I could have made - still nothing.

I brought up a console window and tried logging in as root - same problem.

I booted into single user mode and entered passwd command to set new root password - I got a SYSTEM ERROR message from the passwd command.

I booted to a Live CD, went to /etc/shadow and deleted the encrypted password. Rebooted on the hard drive, went to console window and logged in as root, with no password required. So far so good. I entered passwd command to set new password and got the same SYSTEM ERROR message.

The machine seems fine when running on the Live CD, and the install seemed to go fine.

View 14 Replies View Related

OpenSUSE Install :: Unlocking LDAP Accounts Using Passwd?

Jul 18, 2011

I'm trying to setup a LDAP server and it seems to have all gone pretty well. I set it so that users that type their passwords wrong 5 times are locked out for 20 minutes. That works fine, but if I want to log on as an admin and unlock their account before that 20 minutes is up it isn't working.Normally, (authenticating locally)

Code:

passwd -u blank888

works and does what I want it to. If I want passwd to recognize the LDAP server I use

Code:

passwd -D cn=Administrator,dc=example,dc=com -u blank888

When I run that, it always asks for the admin password like it should, but then will only work on some accounts and not others. Mainly I've seen that it only works on accounts that already had local accounts before connecting to the LDAP server.If I run a passwd -Sa command I will get something like:

blank888 LK 07/18/2011 0 999 7 -1
blank888 LK 07/18/2011 0 999 7 -1
test LK

blank888 already had an account on the machine, but also had a LDAP account along with test. So blank888 is showing twice because he has both LDAP and local accounts, whereas test only has a LDAP account. So now if they both get locked out passwd -D $adminDN -u $account will work for blank888 but not test. Then the results of a passwd -Sa would be:

blank888 PS 07/18/2011 0 999 7 -1
blank888 PS 07/18/2011 0 999 7 -1
test LK

I need to be able to unlock test using passwd. The LDAP server is running 11.2, and the hosts are running various Linux distros, and XP.Can anything think of a way to fix this without removing the LDAP server, adding local accounts for everyone, and then putting the LDAP server back on?

View 2 Replies View Related

OpenSUSE Install :: Passwd -S Output \ Ran The Command But Nothing About The Algorithm Is Returned?

Mar 23, 2010

I read that passwd -S spits out informationabout a user's password including the encryption algorithm used to encrypt the password in /etc/shadow. I ran the command but nothing about the algorithm is returned. Is this a quirk in openSUSE?On another note, I've determined through other means that I've selected blowfishryption as evidenced by the $2blah$2blahblah format of the /etc/shadow entry. However, if I look at /etc/default/passwd it lists CRYPT=md5. If I'm using blowfish why would that variable be set to md5. onversely, if it is set to md5 why is the blowfish algorithm being invoked?

View 4 Replies View Related

General :: 'su ' Error "No Such File Or Directory I Cannot Delete That Entry From /etc/passwd As I Cannot Login As Root"

May 15, 2010

[Code]....

Password: su: /bin/bash:/sbin: No such file or directory i cannot delete that entry from /etc/passwd as i cannot login as root.

View 11 Replies View Related

General :: With Several Commands Get Error "cannot Lock /etc/passwd; Try Again Later"

Jun 13, 2011

With several commands I get the error "cannot lock /etc/passwd; try again later". Does anybody know how to solve it? Also I don't get in my /etc/shadow directory.

View 2 Replies View Related

General :: Exactly Is There In The /etc/passwd File?

May 20, 2010

Well we all know that it holds passwords. But cat-ing it gives out nothing. Not even encrypted gibberish. So how exactly is a password stored in this? Is this like a device file or something?

View 4 Replies View Related

General :: Crontab: 12 3 12 4 4 Cat /etc/passwd?

Jan 5, 2010

If I configure a crontab like below.12 3 12 4 4 cat /etc/passwd I know that the cat command will get executed at the configured time. But where will the output of that command go?If it is something like below, then out put will be routed to /tmp/file1.12 3 12 4 4 cat /etc/passwd > /tmp/file1

View 4 Replies View Related

General :: How To Restore The /etc/passwd File

Sep 18, 2010

I was doing some experiment about resource-accessing. By mistake, I executed this command,$ sudo mv /etc/passwd /etc/passwd.bakThen I could not execute any command with privilege(eg. sudo mv /etc/passwd.bak /etc/passwd). When I shut the system down, I could not boot it any more.

View 2 Replies View Related

Ubuntu :: Vncpasswd Not Populating ~/.vnc/passwd

Sep 29, 2010

I have an account on a remote Ubuntu machine. I started the vncserver on that box, it used display number 7. From my Windows machine, I connected to the remote box on port 5907. It connected, but said, "no password configured for vncauth". I noticed that the ~/.vnc/passwd file is empty, alongwith the log file. I typed vncpasswd to set the password again, but no use. I tried vncpasswd ~/.vnc/passwd as well, but no use.The VNC server is running.

View 1 Replies View Related

SUSE :: /etc/passwd Permissions Keep Resetting To 600?

Mar 25, 2010

/etc/passwd permissions keep getting reset to 600. When I set it to 644 as su, it eventually changes back.This occurs on my openSuse10.2 machine but not the openSuse 11.1 machine, but I assume that is irrelevant. Is there something that got tweaked that I need to change in Yast to stop this from happening?

View 5 Replies View Related

General :: Switch User- No Passwd?

Dec 20, 2010

All servers mentioned below run OpenSuSE, either 10 or 11.I am currently working on a few scripts that are meant to be used as part of a continuous integration setup. I am trying to keep these scripts reasonably secure, and so I have made sure that all the servers run these scripts only as a specific user (user1) that has permissions to basically nothing else. The problem I am currently running into is that I need to start and stop tomcat as user1 but this user doesn't have permissions to the tomcat rectory (only tomcat has execute permissions). I have a temporary workaround in place while I work on the scripts (I have an SSH key in place that allows me to SSH from user1o tomcat without a password and execute my commands that way) but it is not very secure. I have tried adding the following line to /etc/sudoers:

Code:
tomcat localhost = NOPASSWD: /opt/tomcat/bin/startup.sh, /opt/tomcat/bin/shutdown.sh
but it doesn't work as I expected it to. I tried a few different syntaxes for that line,

[code]...

View 6 Replies View Related

General :: When Look In The /etc/passwd File, Don't See Username There?

Aug 10, 2010

I got a user account on a linux network. But when I look in the /etc/passwd file, I don't see my username there. Where would I find my username

View 3 Replies View Related

General :: How To Recover /etc/passwd File

Apr 11, 2010

Unfortunately i lost my passwd file...so who to recover that.

View 8 Replies View Related

General :: Symlinking /etc/passwd Etc For Networking?

Jun 25, 2011

I'm running a small network of 20 PC's (slackware), I had previously used NIS and can't really be bothered with ldap it's a bit of hassle. I do not need a centralised database just a login auth system.On the server I make a folder called /sec and symlink passwd, group and shadow into it.I export this via nfs.On the workstation I create a folder /sec, move the passwd, group and shadow file into it and then symlink them back into the /etc folder.On bootup, the rc.local mounts server /sec over the top of workstation /sec. If it fails it falls back.I wasn't sure if I could just mount /sec on the workstation and then temporarily symlink group,passwd,shadow over the top of the /etc/shadow etc

View 4 Replies View Related

Security :: User Appear In /etc/shadow And Not /etc/passwd

Jul 28, 2010

In what cases would a user appear in /etc/shadow and not /etc/passwd

View 2 Replies View Related

Security :: SSH User/passwd Or PPK Secure Key?

Apr 22, 2010

we are trying to make a policy decision whether to go with SSH user/passwd or PPK secure key ? our servers are hosted remotely by a hosting service. we were wondering which of these two models are more secure.e.g. i would tend to think that user/passwd with account lockouts upon failed attempts would be more secure because the other option exposes your server in case someone sneaks the PPK file or steals your whole computer.however, what makes me doubt myself is that Amazon Web Services EC2 cloud hosting uses PPK by default (although an instance's SSH config can be change to accommodate logging in but they don't endorse it).

View 3 Replies View Related

Programming :: Inserting Usr Into /etc/passwd Via Script?

Jan 19, 2011

I need to either locate a script that is similar to what I am needing or figure out a better way of doing what I need. I have mutiple shops with AIX unix servers, using ksh with virtual terminals that connect. since these are on an internal network we have them connecting to the server as either usr01, usr02, etc. what I need to do is add 15 user's ranging from usr01-usr15 into /etc/passwd each usr is identical in such that each line contains

Code:

usr01::0:0::/usr/tops:/bin/ksh

only difference is the usr# changes. I wrote a script where I was just adding these all to the /etc/passwd but now I have been tasked with adding them to these shops but with out any duplicates. is there any way to have a script check the file to see if the usr# exists and if so proceed to the next number and then input the usr#::0:0::/usr/tops:/bin/ksh into the file?

View 7 Replies View Related

Red Hat :: Break The Grub Passwd With Out The Use Of Live Cd?

Feb 4, 2011

i'm using red hat enterprise linux 5,i want to know how can i break the grub passwd with out the use of live cd.

View 7 Replies View Related

CentOS 5 :: Can Change Passwd But Still Not Able To Login

Oct 2, 2009

I have a web server running Centos5 on a Xeon processor with 2GB of RAM. Whenever I try to login as a user the system hangs.If I login as root I can login without any problems. I tried changing the passwd. I can change the passwd but still not able to login as that user. I tried creating a new user. When I run the command adduser or useradd the system hangs.

View 7 Replies View Related

CentOS 5 :: What Is The Use Of /etc/passwd- & /etc/group - Backups

Sep 26, 2010

A junior question: What is the use of /etc/passwd- & /etc/group-? Backups? I delete them, and they will come out again.

View 2 Replies View Related

Debian Configuration :: Root Passwd Not Working

Jun 25, 2011

my debian laptop this morning ,saw that the update manager had updates..97 of them??? then when tried to view them the package manager freezes and becomes unresponsive. needed to do a few things and found my root password is NOT working. this all happened at the same time, i wonder if its related? have i been hacked? is this something new? cant reset root password (tried two methodeds with no luck) and cant view the updates altho i question 97 new updates are needed.

View 7 Replies View Related

General :: Showing Only The Readable Signs Uit Of /usr/bin/passwd?

Jun 6, 2010

Is there a command for showing only the readable signs uit of /usr/bin/passwd?

View 1 Replies View Related

Fedora X86/64bit :: Ssh-passwd-less Login Faild?

Jan 18, 2011

OS: Fedora 13 x86_642.6.34.7-66.fc13.x86_64My configuration for the passwd-less ssh login.I generated the private-public key pair on my local host. Then I scp the public key to the remote host, cat this public key into authorized_key under ~/.ssh

On both host,
cd ~/.ssh
ssh-agent /bin/bash

[code]....

View 1 Replies View Related

Ubuntu :: Check Line For Account In /etc/passwd?

Nov 12, 2010

If you don't know which shell you are using , either check the line for your account in /etc/passwd

what is that suppose to mean? how do i check it? do i check it from the terminal?

View 3 Replies View Related

Ubuntu Security :: Different Passwd LOGIN And ROOT

Mar 8, 2011

Is there anyway to have a different password for login and root? For example, my account is Bratu. I want a login password: ABCD and my root password: EFG

View 1 Replies View Related

General :: Noticed There Was Two Files Called Passwd?

Jun 18, 2010

I was looking around the files in /etc/ to see what they were and what they said, then I noticed there was two files called passwd, which confused me a lot for a second then I noticed one of them was actually passwd-.I compared them and they only differed by one line:
< games:36:35:added by portage for gemrb:/usr/games:/bin/bash, which was in passwd but not passwd-.Should these files both exist? If yes, why, what does having both do? If no, then its safe to say I can just delete passwd-

View 2 Replies View Related







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