Sponsored Content
Full Discussion: unable to login HELP!!!
Top Forums UNIX for Dummies Questions & Answers unable to login HELP!!! Post 41524 by giulianob on Tuesday 7th of October 2003 05:22:31 PM
Old 10-07-2003
unable to login HELP!!!

Hi,
I have installed for the first time sun solaris on my pc and I am trying to learn unix.

I created a new user using the following steps:

-create a new group : groupadd work
-created a new user:
useradd -g work -d /export/home -s /usr/bin/ksh gbruno
(i checked the path of the shell using which ksh= /usr/bin/ksh)
-created a password: passwd gbruno( i have entered the password and than reentered)
-message says password succesfully created for user gbruno
-checked the entry in /etc/passwd and gbruno user is there.
-tried to loggin as gbruno : rlogin -l gbruno giuliano( giuliano is my host name)
-I am prompted to insert the password
-once the password is entered i get a message back saying No shell, connection closed.
-If I go to export/home and do ls -l gbruno it says that the owner is 104 and the group is other ( is this correct?).
I tried as per suggestions from uder user to do :
SHELL=statement and reboot in order to create a new shell authomatically.
I deleted old users who were showing the same error messages and created the above new one, but still the same..
What am i doing wrong?

Thanks for your help, I hope I can help somebody else one day..
Regards
Giuliano
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unable to get a login shell

I have started using SunOS 5.6 as an administrator. By mistake I changed the default shell entry for root in /etc/passwd file to /bin/ksh. Since there is no such shell available in the bin directory, I am not able to log on to the system.(This happens even in the console) The error is - no... (2 Replies)
Discussion started by: pradeepks
2 Replies

2. Forum Support Area for Unregistered Users & Account Problems

Unable to login

Hi Admin/Moderator, I am unable to login with my user id "chanakyahere", even it is not accepting my mail id to which i got one reply aso.. it is saying that i suppied "mail id that is not recognised".. please look forward regarding this problem.. i joined on last saturday i.e on... (1 Reply)
Discussion started by: Chanakya
1 Replies

3. UNIX for Dummies Questions & Answers

AIX Unable to Login

Was OK on AIX5.2. Have installed AIX 5.3 ML02 and now only root can log in. Other users get "You are not allowed to login at this time." Once in as root, it's possible to su or 'su -' to other users. All user parameters are OK. (0 Replies)
Discussion started by: skinthegoat
0 Replies

4. Solaris

Unable to login

Hi, I am doing Active Directory(Win 2008) and UNIX(Solaris 10) integration. I was unable to create home directory for the Active Directory users on the first login. So i added other session required pam_mkhomedir.so skel=/etc/skel umask=0022 to pam.conf in /etc/pam.conf. But now I am... (2 Replies)
Discussion started by: sathya47
2 Replies

5. Post Here to Contact Site Administrators and Moderators

unable to login via tapatalk from droidx

i can login from the site no problem. but from tapatalk it always tells me if my password is wrong. i've tried on the site few times no problem. only problem via tapatalk. is this a problem for droidX... or am i missing something. help pls. thanks much. (2 Replies)
Discussion started by: unregistered110
2 Replies

6. Solaris

unable to login Solaris 10

I have inherited a solaris 10 server. I went to log into it the other day over the console connection, and after sucessfully entering the password, I was booted back to the login prompt with no errors visible. If I enter an incorect password, the console displays 'incorrect password' and kicks... (8 Replies)
Discussion started by: Sol-nova
8 Replies

7. Forum Support Area for Unregistered Users & Account Problems

Unable to login

Hi, It has been a while since I logged into Unix.com and I have forgotten my userID and password. Please help. Thanks, Ananth. (1 Reply)
Discussion started by: Unregistered
1 Replies

8. Red Hat

Unable to login after patching

Hello, Sorry for posting here..i know there is another section for Urgent...However, i could not locate it... Issue: ) After patching rhel 5.8 with couple of patches. When user is trying to login via putty . They get login promt and when they type their username, screen get freezed kindaa... (3 Replies)
Discussion started by: saurabh84g
3 Replies

9. How to Post in the The UNIX and Linux Forums

Unable to see my threads when i login

Hello, Is there a way to display all of the posts I have authored? Many thanks in advance. (2 Replies)
Discussion started by: Anamika08
2 Replies

10. Solaris

Unable to login with any user

Hi Please I need help on trying to login on a solaris 10, blade server. login as: root Using keyboard-interactive authentication. Password: I even try a normal user, I do not get the prompt. I suspect the reason could be that /varis at 98% because I have configure email alerts to warn me... (9 Replies)
Discussion started by: fretagi
9 Replies
groupadd(1M)                                              System Administration Commands                                              groupadd(1M)

NAME
groupadd - add (create) a new group definition on the system SYNOPSIS
/usr/sbin/groupadd [ -g gid [-o]] group DESCRIPTION
The groupadd command creates a new group definition on the system by adding the appropriate entry to the /etc/group file. OPTIONS
The following options are supported: -g gid Assigns the group id gid for the new group. This group id must be a non-negative decimal integer below MAXUID as defined in /usr/include/sys/param.h. The group ID defaults to the next available (unique) number above the highest number currently assigned. For example, if groups 100, 105, and 200 are assigned as groups, the next default group number will be 201. (Group IDs from 0-99 are reserved by SunOS for future applications.) -o Allows the gid to be duplicated (non-unique). OPERANDS
The following operands are supported: group A string consisting of characters from the set of lower case alphabetic characters and numeric characters. A warning message will be written if the string exceeds MAXGLEN, which is usually set at eight characters. The group field must contain at least one character; it accepts lower case or numeric characters or a combination of both, and must not contain a colon (:) or NEWLINE. EXIT STATUS
The following exit values are returned: 0 Successful completion. 2 Invalid command syntax. A usage message for the groupadd command is displayed. 3 An invalid argument was provided to an option. 4 The gid is not unique (when -o option is not used). 9 The group is not unique. 10 The /etc/group file cannot be updated. FILES
/etc/group /usr/include/userdefs.h ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
users(1B), groupdel(1M), groupmod(1M), grpck(1M), logins(1M), pwck(1M), useradd(1M), userdel(1M), usermod(1M), group(4), attributes(5) NOTES
groupadd only adds a group definition to the local system. If a network name service such as NIS or NIS+ is being used to supplement the local /etc/group file with additional entries, groupadd cannot change information supplied by the network name service. However, groupadd will verify the uniqueness of group name and group ID against the external name service. SunOS 5.10 27 Mar 1998 groupadd(1M)
All times are GMT -4. The time now is 06:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy