Questions tagged [passwd]

passwd refers to the Unix command for changing a user's password and also the file in which users' login data is stored.

passwd refers to the Unix command for changing a user's password and also the file in which users' login data is stored.

116 questions
2
votes
1 answer

Purpose of the noaccess user in UNIX?

Can someone point me to a document or explain to me the utility or application of the noaccess user? It would seem interchangeable with any other user I might create. What is it's purpose of being included by default in new installations of Solaris?…
700 Software
  • 2,233
  • 10
  • 49
  • 77
2
votes
2 answers

passwd: Authentication token manipulation error

I am running a Ubuntu 12 machine, and have recently been working to secure it. I made all the changes from this guide. I am not running a Linode, but I used these as a starting point for setting up the firewall and such. All went smoothly, and I…
The_Anomaly
  • 131
  • 1
  • 2
2
votes
1 answer

OpenLDAP on ArchLinux users cannot change passwd

I started an office and i NEED centralized login and home directories to work. Since all workstations are going to run Arch and problems with different LDAP versions I finally concluded the LDAP server also needed Arch. I have done a completely…
iOfWhy
  • 31
  • 1
  • 3
2
votes
2 answers

Is there a shell to change password when connecting over SSH?

This is a pretty odd question, but I'd like my users to be able to change their passwords for my FTPS server, which is using local accounts. Currently all these users have /bin/false set as shell, but would it be possible to set a shell which would…
Steen Schütt
  • 432
  • 3
  • 14
2
votes
3 answers

ssh root access denied after changing shell

after i tried to change my server shell, i cannot login as root anymore. First, i installed the z-shell (zsh) as root and then i wanted to change it to my default shell. Therefore i used "chsh". My fault was, that i typed in a wrong path. After…
tobias b.
  • 21
  • 1
  • 4
2
votes
1 answer

Changing eDirectory Password From Linux Machine

I have Configured LDAP Authentication for my Linux Machines. The LDAP Server is Novell eDirectory. The LDAP Users are able to login into the machine. But when i am issuing passwd command it is asking LDAP password then asking to give me new…
Dungeon Hunter
  • 221
  • 1
  • 4
  • 16
2
votes
1 answer

How to change UNIX user password using passwd if user is stored in a MySQL database?

I'm trying to setup libnss-mysql and libpam-mysql. So far everything has been working. I can use id to get information about the users stored in my databas. getent passwd is working, as well. However, getent shadow is not. Additionally, I'm not able…
t6d
  • 527
  • 2
  • 5
  • 12
2
votes
4 answers

Temporary changes to /etc/passwd or /etc/group - how-to

I want to temporarily modify /etc/passwd and/or /etc/group to "remove" a user/group without deleting the line. Is there a way to do that? http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1161913 seems to indicate it may not be…
warren
  • 18,369
  • 23
  • 84
  • 135
2
votes
1 answer

Why is the displayed name in bash different from the one in /etc/passwd?

I remotely SSH login as root (using PUTTY), The bash shell prompt becomes: [root@yukiko /]# When I entered: getent passwd The first line I see is this one: root:x:0:0:root:/root:/bin/bash Shouldn't the bash shell prompt look like this? (which…
bobo
  • 599
  • 2
  • 8
  • 24
1
vote
2 answers

Sync users over NFS

I'm implementing a web server with configuration and user files shared over NFS (Amazon EFS) as described here: https://serverfault.com/a/933566/81774 As part of my Apache configuration, I am running websites under different user names using…
jdog
  • 121
  • 7
  • 29
1
vote
1 answer

sudo: uid 1000 does not exist in the passwd file!

How can i restore my /etc/passwd file? I have access to it, but it's currently empty and I added this to the file, but I can't even SSH to the machine, I'm getting a "connection…
Kordonme
  • 125
  • 2
  • 8
1
vote
2 answers

Cent OS unable to login after passwd

I tried to change password of centos root using passwd command. But accidentally I pressed enter key without entering any password. Now I can't login to server, neither using old password nor without password. Is there any way around this without…
crashNburn
  • 13
  • 3
1
vote
1 answer

How do I persuade Dovecot and postfix to use multiple passwd files for user accounts and passwords?

I'm setting up Dovecot and postfix for the first time, and I'm a little stuck. I'm sharing a virtual server with a few other people and I want a separate user account file (passwd file) for each domain, so that everyone can administer their email…
Samir Talwar
  • 113
  • 5
1
vote
2 answers

Diskless login with Linux/OpenSolaris

Is it possible to enable a Linux or OpenSolaris based server to process standard unix login requests without spinning up the hard drive holding the root partition? I have a Nexenta-based (1) server that uses a very old 40GB PATA drive for the root…
HonoredMule
  • 187
  • 11
1
vote
0 answers

Cygwin: Obtain comment field from Active Directory with mkpasswd

Running cygwin on W7x64. Since a generated /etc/passwd file is static, it has to be performed occasionally when new employees are hired. It polls Windows AD, and writes the passwd file. In the past, after running mkpasswd -l -d > /etc/passwd it…
tralston
  • 165
  • 1
  • 6