Sponsored Content
Full Discussion: Add a user with no password
Operating Systems Linux Add a user with no password Post 302728323 by prash358 on Wednesday 7th of November 2012 04:57:41 PM
Old 11-07-2012
Quote:
Originally Posted by hergp
To create a user, use the useradd-command. To create a home directory at the same time, use the -m option.
Thank you for the reply, but how can we set the user account to "x" in shadow file? or what do we mean by "X" in shadow file

---------- Post updated at 03:57 PM ---------- Previous update was at 02:46 PM ----------

Quote:
Originally Posted by hergp
This is not, what a shadow file looks like. If you look closer, you will see, that both lines are identical and they are from the passwd file. A shadow file entry looks like this:

Code:
test:$6$rW7KQGB/$ir3tl2gier.4PuoNtoQAecl/FtXBCF87bGsJJ4uAoWhFhpko3ae4hKlIZDFjrhPigdl.vX4uh1DXSTReGI.Wz0:15628:0:99999:7:::

Sorry below is what i have in the /etc/shadow file

Quote:
test:x:13622::::::
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

user Id vs Password

Hello out there in unix.com land. I am Cerberus and this is my first post. I am brand new to Unix and i have a quesiton for you all. Relating to the Unix Password File Setup, what is: User ID? Password? any insite comparing one to the other as far as specifics would be greatly... (2 Replies)
Discussion started by: Cerberus
2 Replies

2. Shell Programming and Scripting

How to add new user and password through script

Hi Everybody I want to write a script in solaris that will add user and set his password. How I will do that. Moreover, if anybody knows where can i find documentation, material and downloads for sample scripts in solaris then please tell me. Thanx Ehsan (1 Reply)
Discussion started by: ehsan
1 Replies

3. UNIX for Dummies Questions & Answers

Add User and Password

hello i have some probelm in the Unix Sun system ....so anyone can u help me how to sovle the problem : 1.how to add the user name and password. 2.list out the command.. Thank You (1 Reply)
Discussion started by: alan thui
1 Replies

4. UNIX for Advanced & Expert Users

control user password

I have two unix server ( eg. they are Server A , Server B ) and want to use LDAP to control the user profile , each of these servers have some database and application are running , assume I have setup Server A as LDAP server . Now I am not too understand the practice of it, could anyone can advise... (0 Replies)
Discussion started by: ust
0 Replies

5. Solaris

help adding a new user/password

I just installed Solaris 10 yesterday and I need to create a new username and password. I'm new to the system and I have yet to learn my way around. I appreciate all help and thank you in advance. (5 Replies)
Discussion started by: bones
5 Replies

6. UNIX for Advanced & Expert Users

password verification verify password of a user for only first 8 characters

Helo , I m using linux pam library for user and its password authentication. I m creating new user and giving its password.I m giving password of 10 characters.now when I login in as that newly created user its ask me $ su - ram Password: You are required to change your password immediately... (12 Replies)
Discussion started by: amitpansuria
12 Replies

7. Shell Programming and Scripting

switch as another user without password

I want to switch as another user without using password .Is it posiible ? I have one server B and I have logged in as username u1 but I want to login to that same server using username as u2 but I don't want to give the password for u2. (3 Replies)
Discussion started by: maitree
3 Replies

8. Shell Programming and Scripting

How to scp File from root user in one server to say crt user in another server and avoid password?

Can someone help in writing some script through which I can transfer file (scp) from root user in abc server to crt user in hfg server and can give the crt user password in script itself so that it doesn't prompt me every time for password (4 Replies)
Discussion started by: Moon1234
4 Replies

9. Red Hat

User password reset

Hello - I want to reset user password in multiple server via root ID. I have passwordless authentication for root between all the servers. I an use loop to reset the password. I am using below command in loop echo mypassword | passwd username --stdin However, if anyone sees history - he... (5 Replies)
Discussion started by: saurabh84g
5 Replies
INADYN.CONF(5)						   File formats and conventions 					    INADYN.CONF(5)

NAME
inadyn.conf - configuration for the inadyn client for open DNS servers. DESCRIPTION
inadyn can read the very same options which can be present in the command line from a configuration file. This feature allows the user to write the options only once, and avoids frequent retyping. The format of the file follows the *NIX tradition: a '#' character denotes a comment. The long options (those with '--' in front) can also be placed at the beginning of the line without '--' signs. a can be used as an escape character. EXAMPLES
1. #Some comment about inadyn cfg file --username test --password test --update_period 60000 --alias test.homeip.net --alias my.second.domain 2. --username test # user --password test update_period 60000 # some other param without '--' alias test.homeip.net SEE ALSO
Other manual pages inadyn(8). Internet resources Inadyn 's home page is http://inadyn.ina-tech.net. <> AUTHOR
inadyn was written by Narcis Ilisei, <inarcis2002@hotpop.com>. This manual page was written by Shaul Karl, <shaul@debian.org>, for the Debian GNU/Linux system, based on the readme.html file that is found in the source. Linux applications January, 2005 INADYN.CONF(5)
All times are GMT -4. The time now is 01:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy