11-12-2009
yes it will correctes /home/directory regarding /etc/passwd i have not checked
it will creats /hame/(user name) directory
Last edited by sreedhargouda; 11-12-2009 at 02:55 PM..
10 More Discussions You Might Find Interesting
1. Linux
Hi,
I want to create a user and allow its to be able to have telnet session like what you have in the ftp allow and deny. Is this possible
Thanx. (3 Replies)
Discussion started by: kayode
3 Replies
2. UNIX for Dummies Questions & Answers
Folks;
I'm a root but i couldn't change /home directory permission or group. i'm getting operation not permitted.
Any help? (6 Replies)
Discussion started by: moe2266
6 Replies
3. UNIX for Advanced & Expert Users
RHEL5.0
As we know, when root create a new user, a new home directory will be created : /home/user
I want to know what determine the access permission of /home/user .
Thanks! (1 Reply)
Discussion started by: cqlouis
1 Replies
4. Programming
Hi,
I've been working on a project that needs to be run as root user.
however when I want to debug it in eclipse, I can't run it as root user.
currently, I'm debugging with GDB in root.
Is there a solution for this ?, because I don't find the solution of running eclipse as root a good solution.... (4 Replies)
Discussion started by: mellowcandle
4 Replies
5. Shell Programming and Scripting
dear all
telnet on our server is disabled for security reasons , if we want to allow telnet for some users , ( maybe 1 or 2 to be able to telnet ) is their any way to do that ??
does anyone have any ideas ?
thanks (3 Replies)
Discussion started by: semaan
3 Replies
6. UNIX for Dummies Questions & Answers
I've been through many threads before i decide to create a separate thread.
I can't really find the solution to my (simple) problem.
Here's what I'm trying to achieve:
As "canar" user I want to run a command, let's say "/opt/ocaml/bin/ocaml" as "duck" user.
The only to achieve this is to... (1 Reply)
Discussion started by: canar
1 Replies
7. Solaris
hi guys..
how to give root permission for particular user
tel me step by step (2 Replies)
Discussion started by: coolboys
2 Replies
8. UNIX for Advanced & Expert Users
Hi Felas
I am running Fedora and have this issue on my system:
I have the following users:
jane:x:552:100::/usr1/users/jane:/bin/bash
jules:x:553:100::/usr1/users/jules:/bin/bash
I have the following group which all users belong to:
lab:x:100:root,jules,jane
I have the... (4 Replies)
Discussion started by: ndaka123488
4 Replies
9. Shell Programming and Scripting
I need to list users in /etc/passwd with root's GID or UID or /root as home directory
If we have these entries in /etc/passwd
root:x:0:0:root:/root:/bin/bash
rootgooduser1:x:100:100::/home/gooduser1:/bin/bash
baduser1:x:0:300::/home/baduser1:/bin/bash... (6 Replies)
Discussion started by: anil510
6 Replies
10. AIX
Hi
The telnet sessions stay as idle users. It is not getting kicked out.
Please advise what could be the issue. only when we reboot the server these telnet sessions goes.
Below is the current output from the server. we rebooted the server three days ago:
pmut6:/> uptime
04:21PM... (8 Replies)
Discussion started by: newtoaixos
8 Replies
LEARN ABOUT OPENDARWIN
userdel
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)