Asking for some assistance in trying to understand how Apache24 works with svcadm.
I used:
This is also set in /etc/apache2/2.4/httpd.conf as User and Group, but when I start the service it runs as the config default:
webservd.
If I run from the command line /usr/apache2/2.4/bin/apachectl it runs as the user and group, but might not create the log files as that user.
Is there a proper way to configure the service? I tried searching and can't seem to find the correct search words to find a match.
Any assistance would be greatly appreciated. If you can point me to a reference that would also be great.
Moderator's Comments:
edit by bakunin: please do us all a favour and use the CODE-tags i edited in for you yourself when posting code, terminal output or the like. It is easier to read, required by the forum rules, avoids infractions and is less work for me. Thank you!
Hi,
I just upgraded my Ultra 5 to Solaris 10.
Now I get this error when I try to start the nfs.server;
# svcadm enable svc:/network/nfs/server
svcadm: Pattern 'svc:/network/nfs/server' doesn't match any instances
Also I cannot use either:
# inetadm -l nfs/server
Pattern 'nfs/server'... (2 Replies)
I need to find all the files that have group Read or Write permission or files that have user write permission.
This is what I have so far:
find . -exec ls -l {} \; | awk '/-...rw..w./ {print $1 " " $3 " " $4 " " $9}'
It shows me all files where group read = true, group write = true... (5 Replies)
HI All,
When i booted a server through its console.
A message appeared .
svc:/system/filesystem/local:default: WARNING: /sbin/mountall -l failed: exit status 1
May 27 03:55:32 svc.startd: svc:/system/filesystem/local:default: Method "/lib/svc/method/fs-local" failed with exit status... (3 Replies)
Can anyone tell me the difference between inetadm and svcadm in solaris. As per my knowledge svcadm will use to start/stop services .
Any help on this is really helpful (2 Replies)
Hi,
Anyone can help me on how to duplicate privileges and group for useroradb01 to userrootdb01. I have currently using "useroradb01" and create a newly user "userrootdb01".
I want both in the sames privileges and group. Please see the existing users list below;
drwxr-xr-x 53 useroradb01... (0 Replies)
Hi All,
Yet another problem where I need your help.
Guys , I am on a Solaris 9 Machine where svcadm command doesn't work
I want to issue a command svcadm restart ntpas I normally do in Solaris 10. However I want to know is there any alternate way to do it in solaris 9 as it doesn't support the... (5 Replies)
Hi,
In the following output you can see the the user "richard" is a member on the team/group "developers":
# id richard
uid=10247(richard) gid=100361(developers) groups=100361(developers),10053(testers)
but in the following details of the said group (developers), the said user... (3 Replies)
Hi Gurus,
I am trying to silence or supress rm -rf option for a particular user(venkat).
for that am going to write a function in a script test_fun_ls.sh like below
#!/bin/bash
RM_FUNCTION ()
{
if
then
case ${1} in
-r)
... (9 Replies)
trying to implement authz to a webpage using require ldap-group. It works, except I need to do apachectl restart before the server will observe an add or a delete to the group.
Seems like apache is acquiring the group membership at startup & caching it.
It's a static group.
I have apache... (0 Replies)
Discussion started by: maraixadm
0 Replies
LEARN ABOUT OPENSOLARIS
ad
ad(5) Standards, Environments, and Macros ad(5)NAME
ad - Active Directory as a naming repository
DESCRIPTION
Solaris clients can obtain naming information from Active Directory (AD) servers.
The Solaris system must first join an AD domain and then add the ad keyword to the appropriate entries in the nsswitch.conf(4) file. The
Solaris system joins the AD domain by using the kclient(1M) utility. The AD name service only supports the naming databases for passwd and
group.
Windows users are not able to log in. The user_attr(4) database has no entries for Windows users, and the passwd(1) command does not sup-
port the synchronization of user passwords with AD.
The Solaris AD client uses auto-discovery techniques to find AD directory servers, such as domain controllers and global catalog servers.
The client also uses the LDAP v3 protocol to access naming information from AD servers. The AD server schema requires no modification
because the AD client works with native AD schema. The Solaris AD client uses the idmap(1M) service to map between Windows security identi-
fiers (SIDs) and Solaris user identifiers (UIDs) and group identifiers (GIDs). User names and group names are taken from the sAMAccountName
attribute of the AD user and group objects and then tagged with the domain where the objects reside. The domain name is separated from the
user name or group name by the @ character.
The client uses the SASL/GSSAPI/KRB5 security model. The kclient utility is used to join the client to AD. During the join operation,
kclient configures Kerberos v5 on the client. See kclient(1M).
FILES
/etc/nsswitch.conf Configuration file for the name-service switch.
/etc/nsswitch.ad Sample configuration file for the name-service switch configured with ad, dns and files.
/usr/lib/nss_ad.so.1 Name service switch module for AD.
SEE ALSO passwd(1), svcs(1), idmap(1M), idmapd(1M), kclient(1M), svcadm(1M), svccfg(1M), svccfg(1M), nsswitch.conf(4), user_attr(4), smf(5)SunOS 5.11 22 Oct 2008 ad(5)