Sponsored Content
Full Discussion: Login problem
Operating Systems Solaris Login problem Post 52683 by pressy on Wednesday 23rd of June 2004 06:31:25 PM
Old 06-23-2004
..........

you forgot to create the home directory within the command....

# useradd -d /export/home/user -m user

otherwise you would have to create it, change the permissions and add it to /etc/passwd

g P
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

login problem

. HP-UX HPUX11I B.11.11 U 9000/778 (tb) telnetd: /usr/bin/login: No such file or directory Ok im currently logged into the machine and dont plan on logging out i found this out when i went to open another session on the box and was prompted with the above, i do not have a backup of the... (4 Replies)
Discussion started by: bbutler3295
4 Replies

2. Red Hat

login problem

Dear friends, I am using linux redhat nash version 4.2.1.6 os. now i rebooted my system suddenly the following error is coming. INIT: canot execute /etc/X11/prefdm. INIT: canot execute /etc/X11/prefdm. INIT: canot execute /etc/X11/prefdm. after that it is asking login : ... (0 Replies)
Discussion started by: rajan_ka1
0 Replies

3. SCO

Problem when login

When I login on consola as root I have problem. I typed on login: root password:rootpassword then promt login: problem is for other users In sigle user mode I can login as root. Please halp me (1 Reply)
Discussion started by: draganmi
1 Replies

4. AIX

problem with login

I have installed AIX 5.2 on an H70. It actually reports a memory fault as in SRN 25c68008. However when the system starts up it reports that there is 1536 Mbyte of memory and the O/S starts. I am connecting through the serial port of an old laptop onto the S1 port of the H70. The setting is... (10 Replies)
Discussion started by: johnf
10 Replies

5. 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

6. 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

7. Linux

Login problem

Hi, If i changed my password then i can able to enter into linux box. After some time if i tried then i can able to enter into the same box. I have tried lot of times, But it is not resolved yet. Please advice for this . Error msg : fatal: Timeout before authentication for... (0 Replies)
Discussion started by: Mani_apr08
0 Replies

8. Ubuntu

login problem

Hi After I update my vga driver ubuntu stop to boot. When I restart my computer appear ubuntu first page and after he go to a black screen without any message. How I can restore of find problem? Thanks (6 Replies)
Discussion started by: nichol
6 Replies

9. Red Hat

Login problem

Hi Everybody, I am getting following error when am trying to login to my oracle user. su: warning: cannot change directory to /bin/bash: Not a directory -sh: /bin/bash/.profile: Not a directory -bash-3.1$ Please help me how to avoid this message and how to login with normal user login... (1 Reply)
Discussion started by: mastansaheb
1 Replies
userdel(1M)						  System Administration Commands					       userdel(1M)

NAME
userdel - delete a user's login from the system SYNOPSIS
userdel [-r] login DESCRIPTION
The userdel utility deletes a user account from the system and makes the appropriate account-related changes to the system file and file system. OPTIONS
The following options are supported: -r Remove the user's home directory from the system. This directory must exist. The files and directories under the home directory will no longer be accessible following successful execution of the command. OPERANDS
The following operands are supported: login An existing login name to be deleted. EXIT STATUS
The following exit values are returned: 0 Successful completion. 2 Invalid command syntax. A usage message for the userdel command is displayed. 6 The account to be removed does not exist. 8 The account to be removed is in use. 10 Cannot update the /etc/group or /etc/user_attr file but the login is removed from the /etc/passwd file. 12 Cannot remove or otherwise modify the home directory. FILES
/etc/passwd system password file /etc/shadow system file contain users' encrypted passwords and related information /etc/group system file containing group definitions /etc/user_attr system file containing additional user attributes ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
auths(1), passwd(1), profiles(1), roles(1), users(1B), groupadd(1M), groupdel(1M), groupmod(1M), logins(1M), roleadd(1M), rolemod(1M), useradd(1M), userdel(1M), usermod(1M), passwd(4), prof_attr(4), user_attr(4), attributes(5) NOTES
The userdel utility only deletes an account definition that is in the local /etc/group, /etc/passwd, /etc/shadow, and /etc/user_attr file. file. If a network name service such as NIS or NIS+ is being used to supplement the local /etc/passwd file with additional entries, userdel cannot change information supplied by the network name service. SunOS 5.10 8 Sep 1999 userdel(1M)
All times are GMT -4. The time now is 06:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy