General discussion

Locked

Adding a user

By dom_rp ·
Iam trying to add a user to my linux redhat server but the system does not abey the command,Is says that it cannot open the password file, where should i look to fix this frustrating issue.

This conversation is currently closed to new comments.

11 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Adding a user

by Cactus Pete In reply to Adding a user

As which user are you attempting to add new ones?

Collapse -

Adding a user

by dom_rp In reply to Adding a user

The question was auto-closed by TechRepublic

Collapse -

Adding a user

by Andrew T. Fry In reply to Adding a user

First rule of Linux is you are a nonpriviledged user and must user root for sensitive activities like adding users. To accomplish this task at a command prompt type 'su' and enter your root password. Then proceed to add your user. Alternatively if you use a recent version of a distribution like RedHat or SuSE they contain helpful GUI interfaces for adding users. When starting them they usually request your root password as well. Hope this helps. Good luck.

Collapse -

Adding a user

by dom_rp In reply to Adding a user

The question was auto-closed by TechRepublic

Collapse -

Adding a user

by jcmcintyre In reply to Adding a user

Runj the following command:

ls -l /etc/passwd

You should see results similar to the following
line

-rw-r--r-- 1 root root 1120 Aug
29 16:23 /etc/passwd

This is telling you that ONLY root can open this
file.

Next, run the following command

su root

Enter the root password, and and add the
required users

Next, get sudo from www.courtesan.com/sudo.

Install it, and read the Techrepublic article on
ho to configure it so non-root users have the
required access to commands normally used by
root.

Then remoce the su command from your system.
This will give you the access you need without
having to actually work as root.

Also, crackers will no longer have the ability
to su to root.

Cheers
Jim

Collapse -

Adding a user

by dom_rp In reply to Adding a user

The question was auto-closed by TechRepublic

Collapse -

Adding a user

by jcmcintyre In reply to Adding a user

Runj the following command:

ls -l /etc/passwd

You should see results similar to the following
line

-rw-r--r-- 1 root root 1120 Aug
29 16:23 /etc/passwd

This is telling you that ONLY root can open this
file.

Next, run the following command

su root

Enter the root password, and and add the
required users

Next, get sudo from www.courtesan.com/sudo.

Install it, and read the Techrepublic article on
ho to configure it so non-root users have the
required access to commands normally used by
root.

Then remoce the su command from your system.
This will give you the access you need without
having to actually work as root.

Also, crackers will no longer have the ability
to su to root.

Cheers
Jim

Collapse -

Adding a user

by dom_rp In reply to Adding a user

The question was auto-closed by TechRepublic

Collapse -

Adding a user

by avi In reply to Adding a user
Collapse -

Adding a user

by dom_rp In reply to Adding a user

The question was auto-closed by TechRepublic

Back to Linux Forum
11 total posts (Page 1 of 2)   01 | 02   Next

Related Discussions

Related Forums