Sponsored Content
Full Discussion: Add User Problem
Top Forums UNIX for Advanced & Expert Users Add User Problem Post 302225410 by mjdousti on Friday 15th of August 2008 10:08:40 AM
Old 08-15-2008
There is correct info in /etc/shadow.

zaxxon! You are right. After I change the group of tt to 0 (it means the root group) every thing becomes correct.
Code:
tt:x:1000:0:,,,:/home/tt:/bin/bash

But I've 2 questions:
1-Why I must change the group of tt to root group? How the system deny the access of others from logging in?

2-After I logged in with tt, it can't do the root job. (However its in the root group) Why?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

User Problem

On my small network some of my users are having trouble logging in. What's something that I can do to find out what's wrong? Are there any commands that I can run or files I can check? ,AP (4 Replies)
Discussion started by: Anthony
4 Replies

2. UNIX for Dummies Questions & Answers

user creation problem

hello, Actually I want to create a user for our brower based custom application for the mail access from our mailserver(linux). I create user dummy and I granted all the privileages to dummy user and made dummy equivelent to root and if I tried to create a another user logging as dummy ... (1 Reply)
Discussion started by: jarkvarma
1 Replies

3. HP-UX

create user problem

hello: before I am add user in Linux with " adduser" command . for example system(adduser zzf -p hello); and this command "-p" option is used to create "login password". now i do not find the "-p" option in " adduser " in hp unix os. and i should how to do ??? (3 Replies)
Discussion started by: phoenix_fei
3 Replies

4. Linux

USER login problem

Hi All I am facing a login issue actually on my local machine users are not suppose to login with there respective prompt on the machine. Access deneid login as: daya Sent username "daya" daya@10.10.0.3's password: Access denied daya@192.168.0.83's password: and even i am not suppose... (3 Replies)
Discussion started by: daya.pandit
3 Replies

5. AIX

user login problem & Files listing problem.

1) when user login to the server the session got colosed. How will resolve? 2) While firing the command ls -l we are not able to see the any files in the director. but over all view the file system using the command df -g it is showing 91% used. what will be the problem? Thanks in advance. (1 Reply)
Discussion started by: pernasivam
1 Replies

6. Red Hat

sendmail user accounts problem

first of all I am Newbie to linux I confidured my sendmail -8.13 on RHEL5, but i have a problem regarding user accounts. How can I user access his account on remotely while all users exit on servers ? should i need to configure extra server to enable this .... And what is LDAP and can this... (1 Reply)
Discussion started by: sandy6573
1 Replies

7. UNIX for Advanced & Expert Users

User login problem

Dear All, Plz help in unixware 7x only root user login & other user not login . message giving permission denied (3 Replies)
Discussion started by: sudhir69
3 Replies

8. AIX

User creation problem

Hi, I am getting tired in creating several users in a day. Can anyone have a script to create several users in the same server, as well as, to create one user in several servers. where i have to put script and how to run the script. Waiting for your reply. Thanks in advance (5 Replies)
Discussion started by: udtyuvaraj
5 Replies

9. UNIX for Advanced & Expert Users

adding new user problem?

I wan to add a new user. I have executed the following command. The user home directory is created. but password creation shows error. Note: I'm using LDAP Server for user authentication. adduser xxx Adding user `xxx' ... Adding new group `xxx' (1003) ... Adding new user `xxx' (1003) with... (2 Replies)
Discussion started by: ungalnanban
2 Replies

10. Red Hat

User add problem

I could not create the user name with the number infront of... useradd 8siva useradd: Invalid account name `8siva' (3 Replies)
Discussion started by: gsiva
3 Replies
NEWGRP(1)							   User Commands							 NEWGRP(1)

NAME
newgrp - log in to a new group SYNOPSIS
newgrp [-] [group] DESCRIPTION
The newgrp command is used to change the current group ID during a login session. If the optional - flag is given, the user's environment will be reinitialized as though the user had logged in, otherwise the current environment, including current working directory, remains unchanged. newgrp changes the current real group ID to the named group, or to the default group listed in /etc/passwd if no group name is given. newgrp also tries to add the group to the user groupset. If not root, the user will be prompted for a password if she does not have a password (in /etc/shadow if this user has an entry in the shadowed password file, or in /etc/passwd otherwise) and the group does, or if the user is not listed as a member and the group has a password. The user will be denied access if the group password is empty and the user is not listed as a member. If there is an entry for this group in /etc/gshadow, then the list of members and the password of this group will be taken from this file, otherwise, the entry in /etc/group is considered. CONFIGURATION
The following configuration variables in /etc/login.defs change the behavior of this tool: SYSLOG_SG_ENAB (boolean) Enable "syslog" logging of sg activity. FILES
/etc/passwd User account information. /etc/shadow Secure user account information. /etc/group Group account information. /etc/gshadow Secure group account information. SEE ALSO
id(1), login(1), su(1), sg(1), gpasswd(1), group(5), gshadow(5). User Commands 06/24/2011 NEWGRP(1)
All times are GMT -4. The time now is 10:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy