Useradd not creating users and just got blinking cursor

 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Useradd not creating users and just got blinking cursor
# 1  
Old 05-12-2018
Useradd not creating users and just got blinking cursor

Suddenly useradd command is not working,no errors displayed and just got blinking cursor after hitting the command but not actually creating users as expected. Tried using the groupadd command but same results.

The last thing that I did if I can remember is changing the default run level from 5 to 3.

Code:
Example: 
root@station1 ~]# useradd Kerry

Any inputs will be highly appreciated.

Regards,
Norbie
# 2  
Old 05-12-2018
I assume you went from 5 to 3 because the box is a server, not a standalone desktop.
Since you do not recall what was done it can be hard to pin down your problem. It could have started earlier but was not noticed until a lot later.

Try a full shutdown, power off. Boot to runlevel 5. This should NOT affect useradd. Check it anyway.

If you use sudo and made changes to /etc/sudoers I would look there first - stay with runlevel 5. When you edit sudoers you need to be aware of file format constraints, as in you cannot use an editor like gedit. Use visudo. That should be a given.

Please get back to us with questions. I hesitate to suggest drastic steps like a full restore from backup, or rebuilding the system from the distribution media with so very little to go on.

What is the OS system and version and what shell are you using?
# 3  
Old 05-13-2018
Is there a directory service configured in /etc/nsswitch.conf for passwd/group?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Debian

Debian fresh install blinking cursor meaning?

Hello, I have downloaded and install debian in computer it is blinking cursor what this mean? (6 Replies)
Discussion started by: Riteshkakkar
6 Replies

2. UNIX for Dummies Questions & Answers

Script for creating users

Hi, I wants to create the users for multiple machine from single main server using the shell script ,can you please help me on this.... (2 Replies)
Discussion started by: Rahulne25
2 Replies

3. UNIX for Advanced & Expert Users

Creating groups and users

Hi Could anyone please suggest how we can check in Linux if a user or a group name is already existing? In case of a user the command should also be able to specify the user with a given directory and shell. We can of course check this using a grep command but since that is just a pattern match,... (12 Replies)
Discussion started by: Dorothy
12 Replies

4. UNIX for Dummies Questions & Answers

gvim: avoid cursor blinking if window inactive

Hi, I'm a newbie here and don't know if this is the right forum for my question, but I searched for a forum for gvim and can't find one. My gvim shows always a blinking cursor, also if it is not the active xwindow. So I write very often in other xwindows, when editing with gvim. Is there a... (3 Replies)
Discussion started by: jeckle
3 Replies

5. UNIX for Dummies Questions & Answers

Blinking cursor

Cursor is blinking (slightly) while loading page in Firefox, or during scrolling a window. I tried some variants of linux (gnome permanently) and of course my solaris. May be an artifact of X-window? Cause in windows cursor is stable (i'm feeling more confident). PS: It makes me nervous. (0 Replies)
Discussion started by: Xcislav
0 Replies

6. UNIX for Advanced & Expert Users

Creating USERs with restricted Access

Hi There, i need to creat USERS in UNIX with restricted access to different directories. for example user1 should have access to dir1 and dir2 user2 should have access to dir2 and dir3 Please help me (4 Replies)
Discussion started by: ramanan25
4 Replies

7. HP-UX

creating users

hi, can any one help in how to get the numeric user id through useradd command ?? or any other command for the same?? (1 Reply)
Discussion started by: vishwaraj
1 Replies

8. UNIX for Advanced & Expert Users

Creating Users with SMC

Hi, I tried to create a user test1 using SMC and its only partially created with following errors: Jun 25 13:44:54 wasana WBEM_Logging_Service: The alias for user test1 could not be created. This indicates an error accessing the alias table. The error was null. Jun 25 13:44:54 wasana... (2 Replies)
Discussion started by: chaandana
2 Replies

9. UNIX for Dummies Questions & Answers

Creating Users!!!!

Can any body show me how to create users......... Thnx.... (1 Reply)
Discussion started by: ocpguy
1 Replies

10. UNIX for Dummies Questions & Answers

Want to create new users without using "useradd" command and user Interaction.

Don't want to use useradd command to create a new user I am doing manual addition of accounts. Actually I am writing a script and I am working on RedHat7.1 system. What I am trying to do is run the script and pass all the values of the username password and group as command line parameters. Now... (2 Replies)
Discussion started by: syedifti
2 Replies
Login or Register to Ask a Question