11-14-2012
If I understand you right, it should be sufficient to add wwwrun to the required groups in a NIS maintained group file. I would not remove an OS predefined user from the local passwd file.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm setting up NIS+ on Solaris 8 for Intel. None of the books I have explain how to add a new user in the NIS+ envoirnment. Can somebody explain this and are there any url's to get more info. I have populated the nis tables and can do an niscat of the passwd table. There is an nisgrpadd command... (2 Replies)
Discussion started by: txpjl
2 Replies
2. UNIX for Advanced & Expert Users
Can kernel process access user address space ? (2 Replies)
Discussion started by: subhotech
2 Replies
3. UNIX for Dummies Questions & Answers
httpd status is stopped.cant start it again by :
/etc/init.d/httpd restart or /etc/init.d/httpd/start
help needed (2 Replies)
Discussion started by: raksha.s
2 Replies
4. Solaris
my qustion is,
nis is centralised server.how to login nis user in client system in console (CDE)login (2 Replies)
Discussion started by: tirupathi
2 Replies
5. Solaris
Hi can anyone help me how to create a NIS user by editing the files like Passwd,group, Netgroup,auto.home and Aliases using the "enis" utility?
Please do the needful................................ (4 Replies)
Discussion started by: Revathi@1
4 Replies
6. UNIX for Advanced & Expert Users
I am trying to load into the kernel a system-call dynamically (without restarting the kernel and compailing it) in an attempt to (once in kernel mode) write to user process's memory.
(I know there is a way to do this with the ptrace interface but it is not an option.)
I know the only way to... (1 Reply)
Discussion started by: hopelessProgram
1 Replies
7. Red Hat
Hi All,
I have a RHEL 5.4 server which runs an Apache web server(2.2.23 compiled with prefork MPM).I want to find out the memory utilised by the web server.
# ps -ylC httpd | wc -l
245
# ps -ylC httpd | more
S UID PID PPID C PRI NI RSS SZ WCHAN TTY TIME CMD
S ... (0 Replies)
Discussion started by: Hari_Ganesh
0 Replies
8. AIX
One issue I could see on AIX 5.3: At one of my customer they have got the ThreadLimit of 2500 set on web server in httpd.conf file.
Currently 2000 users have logged in each attaing a single instance of httpd.
While in ps -ef for httpd process it is showing thread count (thcount) almost 3000.... (3 Replies)
Discussion started by: aarora_98
3 Replies
9. Solaris
i want create user in NIS+ with root previligation. Someone please provide full steps. (1 Reply)
Discussion started by: Navkreddy
1 Replies
LEARN ABOUT HPUX
groupadd
groupadd(1M) groupadd(1M)
NAME
groupadd - add a new group to the system
SYNOPSIS
gid group
DESCRIPTION
The command creates a new group on the system by adding the appropriate entry to the file. The command must be used with the group argu-
ment, which is the name of the new group. The name consists of a string of printable characters that may not include a colon or newline
Refer to usergroupname(5) to understand the functionality changes with the Numeric User Group Name feature.
Options
The command uses the following options:
Specify the group ID
for the new group. gid must be a non-negative decimal integer less than as defined in the header file. By default the
next available unique group ID in the valid range is allocated. Group IDs in the range 0-99 are reserved.
Allow the gid to be non-unique (that is, a duplicate).
NIS
The command is aware of NIS user entries. Only local groups may be added with this command. Attempts to add an NIS group will result in
an error. NIS groups must be administered from the NIS server. If is used on a system where NIS is installed, it may fail with the error
(return value 9) if the group specified is not present in the local file, but is an NIS group (see group(4)). NIS groups are also checked
when verifying uniqueness of the new gid, which may result in the error
(return value 4).
RETURN VALUE
The command exits with one of the following values:
No error.
Invalid command syntax.
Invalid argument supplied to an option.
gid is not unique (when is not used).
group
is not unique.
Cannot modify the
file.
file or
file busy. Another command may be modifying the file.
Unable to open
file or file is non-existent.
EXAMPLES
Add the group to the file.
Add the group to the file with the group ID as long as no group currently exists with a group ID of
WARNINGS
Because many users may try to write the file simultaneously, a password locking mechanism was devised. If this locking fails after subse-
quent retrying, terminates.
FILES
SEE ALSO
users(1), groupdel(1M), groupmod(1M), logins(1M), useradd(1M), userdel(1M), usermod(1M), group(4), usergroupname(5).
STANDARDS CONFORMANCE
groupadd(1M)