OpenSUSE Network :: Add New User / Group To Apache2
Oct 8, 2010
i try to install bugzilla on suse 11.2. For that i want to add a new user / group to the apache2. I want to add the following commands to the envvars but there is no such file available
export APACHE_RUN_USER=apache2
export APACHE_RUN_GROUP=apache2
View 2 Replies
ADVERTISEMENT
Jan 18, 2011
After a disastrous foray into LDAP I restored NIS on a very simple network run by a very simple operator. Everything now works except for YaST on the NIS master. I can't manage NIS users in YaST any more. The option 'show NIS users' is now absent from the 'filter' button up in YaST "User and Group Management" So, after following the YaST route to LDAP there seems no way back...
These are OpenSUSE 11.3 boxes and the slave NIS server can't [obviously enough] delete expired NIS users on the master, although it sees them fine. Disabling or changing NIS server or client on the Master simply restores the 'wrong' settings - nothing is erased or cleaned. How do I clean up NIS controls so YaST sees it properly? or What do I need to do to restore NIS group & user control to YaST?
View 2 Replies
View Related
Jul 19, 2011
How can I create a user group that restricts Internet privileges to only members in the group, then I will assigns certain applications to join the group for access to the Internet.
For example, I want only group net to have access to the Internet. Group net is then connected to:
Code:
So far, I am using the gnome group policy manager that is standard with ubuntu but Its not working. It is possible that im misdirected and that I should use a firewall instead?
View 2 Replies
View Related
Apr 4, 2011
Ever since the 11.4 update I have to enter my root password in order to shutdown the computer, I think this is because I'm not a part of the "power" group. I remember something similar in 11.2 but I never got around to fixing it.Is there a way to join the "power" group?? I don't see it on the user and groups management section in yast.
View 6 Replies
View Related
Jul 1, 2010
THIS ISN'T A SCRIPTING ERROR! I'M USING PHPMYADMIN (or trying to)! People on #httpd are useless for help.
Well, ir jus installed Apache2 and PHP5 on my openSuSE 11.2 server, and I just get blank pages for PHP, but HTML works fine. Ima jus guess this is a common error.
View 3 Replies
View Related
May 6, 2011
I'm running apache2 and I installed php5 with yast. httpd2 -M states that php5 is loaded. /etc/apache2/conf.d/php5.conf is being included in httpd.conf and it contains:
Code:
<IfModule mod_php5.c>
AddHandler application/x-php .php
AddHandler application/x-httpd-php .php4
AddHandler application/x-httpd-php .php5
[Code]....
The first line was added by me since that's what mime.types actually contains.
php.ini is in /etc/php5/apache2 and since I was not sure apache/php was finding it I added a PHPIniDir "directive" into httpd.conf. I have not changed it.
Test file is the typical /srv/www/htdocs/info.php with <?php infophp(); ?>
Normal index.htm is working fine. php -a is working fine.
I spent a long afternoon around this configuration and I looked in plenty of pages for solutions. I only do occasional system administration so I might have easily overlooked something trivial, but I run out of ideas.
There is a thread in this web site with a similar problem but no solution:
Php5 not recognized in SUSE 10.2 Apache2
What could be missing/wrong if php5 is loaded and the addhandler is defined? How can I further test?
View 9 Replies
View Related
Feb 8, 2011
I'm completely new to this whole hosting on linux thing. I'm using apache2 and have everything setup as if I was doing it on a windows machine but when I navigate to the site via URL it displays the source code as plan text and thats all I see. I'm running openSuse 10.3.
View 9 Replies
View Related
Mar 20, 2011
I am trying to install BackupPC on openSUSE 11.4 64 bit.BackupPC is complaining that I am not running the Apache server as user backuppc but as user with id 0 (root)I have the following in the /etc/apache2/uid.conf (which is getting read as I can put a syntax error in the file and it complains):
User backuppc
Group www
When I run either the httpd2-itk (default in rcapache2) or the plain httpd2 processes and then do a:
ps aux
The user reported as running the http processes is root NOT backuppc.On a openSUSE 11.3 machine where I have BackupPC running successfully the ps command returns backuppc as the user running the processes.Is this something others are seeing or do I have some configuration incorrect?
View 8 Replies
View Related
Jul 21, 2010
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have a NIS user on my company, but after install opsnSUSE 11.2 on my workstation the owner and group of all of my file are 4294967294
Code:
[vampird@lyra]:~$ l | head
total 2277
drwx---r-x 30 4294967294 4294967294 2560 2010-07-21 13:12 ./
drwxr-xr-x 69 4294967294 4294967294 1536 2010-07-16 16:01 ../
- -rw------- 1 4294967294 4294967294 129 2010-07-21 11:34 .bash_history
- -rwxr-xr-x 1 4294967294 4294967294 2323 2010-05-06 01:56 .bashrc*
drwxr-xr-x 3 4294967294 4294967294 512 2010-07-21 10:56 .cache/
drwx------ 9 4294967294 4294967294 1024 2010-07-21 11:11 .claws-mail/
drwxr-xr-x 5 4294967294 4294967294 512 2010-07-21 11:33 .config/
drwx------ 3 4294967294 4294967294 512 2010-07-21 10:55 .dbus/
drwxr-xr-x 2 4294967294 4294967294 512 2010-07-21 11:25 Desktop/
[vampird@lyra]:~$
On the server I can see the owner as vampird and the correct group,
VampirD
Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - [URL]
iEYEARECAAYFAkxHNfAACgkQJQ+0ABWtaVlcagCdEo5kiwydUTmZ+dkD4R4jholx
bi4AoO6T2OzHealqsQ+9Z42jJ7rYJ6uL
=YKm8
-----END PGP SIGNATURE-----
View 1 Replies
View Related
Mar 2, 2010
I have installed the package "Web and LAMPP Server" with the YAST2 installation manager on my openSuse 11.1. The installation runs well without any error messages. When I try to start Apache2 in the YAST2 runlevel manager or from the command line it fails.The start problem seems to me simular as amavis configuration. I have to configure /etc/amavisd.conf before a was able to start amavis in the YAST2 runlevel manager.
How can I make Apache2 to start? Do I have to configure a special file before I am able to start Apache2 in the YAST2 runlevel manager or why doesn�t Apache2 start?
View 1 Replies
View Related
Mar 30, 2010
I have joined the domain (server 2003) and can log in consistently now. Now I would like to give all the windows users in on specific group (domain power users) SUDO rights on the machines in question. I have found one way to add users on a pr. user basis, but adding 30 users will take some time.
View 4 Replies
View Related
Sep 3, 2010
This netbook only has a user with non-administrative privs on it and root user but I do not have root's password.Is there a way that I can create a new administrative user of change the current user's group so that it can do sudo commands or have more privs?
View 1 Replies
View Related
May 3, 2010
Is it possible to allow a group/user to execute a command, where one of the parameters of the command is a group as well? example that does not work as intended:
Code:
Cmnd_alias SU=/bin/su -l %group1 This example works sortof, it treats the "%group1" literally. I know I can list out the "/bin/su -l <eachuser>", but as you can imagine that is impractical. In this example, I want people in group2(not shown for brevity sake) to be able to su to someone in group1
View 13 Replies
View Related
Jan 21, 2010
Prelude: OpenSUSE 11.2 (2.6.31.8-0.1-desktop), installed Novell client 2.0 SP2 (novell-client-2.0-sp2-sle11-i586.iso).
I found that if any usual user is logged into a NDS-tree, then _local_ root has full access to user's network shares, including the user's home directory located on remote Netware-server. Is it by design or
have I missed something? Nevertheless in windows local admin has no access to network resources mounted of any other user. If you runas shell (as admin) then admin in principle can't "see" network shares which were mounted (connected) by other users - they are accessible ("visible") per session.
View 3 Replies
View Related
May 30, 2011
Take a physical user FRED. FRED is a linux user ( known by linux on his laptop ) FRED is a Samba user ( Known by samba on the samba pdc server ) When he logs locally (with username/password) on its standalone laptop (with no network), he is known as FRED:user. He access his data in /home/FRED/. When he logs through samba (with username/password) on the domain MY_DOM, he is known as MY_DOMFRED:MY_DOMdomain user. He access his data in /home/MY_DOM/FRED/. ) Is it possible that the human FRED has only one repository and have full access to its repository regardless of how it was connected. If yes, how to do it
2) If not, Is it possible that the human FRED has full access to /home/FRED/.............. and /home/MY_DOM/FRED/.
View 4 Replies
View Related
Oct 17, 2010
I broke my apache server. I went into the Yast administrator / HTTP Server and enabled the "rewrite" module. The server stopped working so I went back in and disabled it. Now the server still doesn't work and when I try browsing to any of the sites on it all I see is a page that says "No database selected" for any sites using databases. For static sites I get a 404 error. I broke rule #1 and didn't have back-up configuration files so now I'm stuck. What could the Yast module have done to my configuration files? I have restarted apache several times and even re-booted the computer.
View 3 Replies
View Related
May 4, 2010
I'm a web developer and I make plug-ins for various shopping cart softwares on demand. because of this I'm constantly installing carts and then immediately updating them/modifying them. The problem I'm having is that I'm having to update the permissions manually all the time (every time I copy a new cart into the /var/www folder). Instead of doing this I'd like apache2 to run under my user, so I don't ever have to update the permissions again. How do I do this?
View 1 Replies
View Related
Dec 19, 2010
I'm new to Ubuntu and wish to use the system in combination with Apache/mySQL/phpMyAdmin. I managed to get phpMyAdmin working for now. Also mySQL database seems to work. Only problem is Apache2. I can start the server and it is working. However in the folder /var/www/ where all site files are stored, I can not edit anything. I have been reading about sudo nautilus which did allow me to change administrator rights for the folder, but still I do not get it working to display other than the default index.html page. Is there a manual or quick solution for me so I can use apache with Ubuntu?
View 2 Replies
View Related
Mar 4, 2011
I am having dificulting with www-data as the user for apache2. I would like to change the user to my desktop user so that I can limit access to one unknown users. I am also having problems with my wordpress website and the permalink settings. which file I should look at modifing and what I need to modify?
View 9 Replies
View Related
Mar 17, 2010
I have four users in my red hat linux 9. I want that all these four users should add in a group i.e "Marketing". please guide me that using terminal which command may i write so that the users should added in the group.I does't want to use GUI interface to do it.
View 14 Replies
View Related
Feb 14, 2011
I want to add a user "smith" into marketing group using terminal.Please guide me that how can I do it ?
View 11 Replies
View Related
Apr 2, 2011
Q: How can I allow my users to mount a cifs share without an entry in fstab in OpenSuse 11.4?
I have an answer myself. Until OpenSuse 11.2 I could mount my samba shares by making mount.cifs and umount.cifs setuid root. Today I installed OpenSuse 11.4. Unfortunately mount.cifs isn't anymore allowed to be setuid due to security concerns. Security is not an issue in my case, so I copied the mount.cifs and umount.cifs from 11.2 to make it work again:
1. Download cifs-mount-3.4.2-1.1.3.1.x86_64.rpm from this repository (I use 64 bit):
"http://download.opensuse.org/distribution/11.2/repo/oss/suse/x86_64/"
2. Extract the files mount.cifs and umount.cifs from the rpm and copy them to /sbin
3. Make them setuid root:
Code:
linux-y5qw:~ # chmod u+s /sbin/mount.cifs
linux-y5qw:~ # chmod u+s /sbin/umount.cifs
4. Mount your cifs shares as a normal user:
Code:
martin@linux-y5qw:~> /sbin/mount.cifs //192.168.2.2/data /home/martin/data/ -ousername=martin
Password:
View 1 Replies
View Related
Jun 20, 2011
How to get all group list of particular user in linux to whom which he is member.
View 3 Replies
View Related
Jul 11, 2011
I'm using nfs to mount the folder /mirror from a server onto a node.
This works, except on the node the user and group are displayed as "4294967294".
On the server: ls -al ./ displays
-rw-r--r-- 1 cu cu 0 2011-07-11 15:08 test1
-rw-r--r-- 1 cu cu 0 2011-07-11 15:08 test2
whereas on the node
-rw-r--r-- 1 4294967294 4294967294 0 2011-07-11 15:08 test1
-rw-r--r-- 1 4294967294 4294967294 0 2011-07-11 15:08 test2
I have usermod and groupmod the username cu to have the same numbers on the node.
On the server: id displays
uid=1021(cu) gid=1007(cu) groups=1007(cu),109(admin)
on the node
uid=1021(cu) gid=1007(cu) groups=1007(cu)
I'm stumpeed as to what the problem could be.
I should perhaps add that the home directory is /mirror/cu (so that the users share the same account when mounted). Not sure if thats relevent though...
My /etc/exports file (on the server) looks like this
/mirror *(rw,sync)
and I do the mount (on the node) with
sudo mount server:/mirror /mirror
View 1 Replies
View Related
Jan 28, 2010
how to delete a user from a group? i am new to this group started linux admin course.
View 4 Replies
View Related
Jul 10, 2010
I am doing rhce course but i am very confused to answer these user and group permissions.the questions are like this...the owner of the /data must be user tom.primary group of /data must be the group sysadmins.the members of the group test must be able to write and create files in the /data.the members of the group web have no access to these directory.the user jack not belong to any of these gropus must have to edit files created in /data.the user tim can only list the contents.
the questions are always like these..i am okay with sgid and sticky bit.but i dnt know where to set default acl and other permissions.
View 3 Replies
View Related
Jun 13, 2010
What would be the effect of setting ProFTPd's user and group to the same user and group that Apache use? Are there any security risks in doing this, or is this safe to do?
View 4 Replies
View Related
Jul 5, 2010
My user/group manager in the system>administration menu is missing.Is there a command to get to the user/group manage using alt+f2 in the desktop? Or can i download the user/group manager from Ubuntu Software Center? I searched the Software Center and all i could find was the KUser user manager program... can I download it? Will it work with ubuntu 10.04?
View 3 Replies
View Related
Sep 23, 2010
I made a mistake on my friend's Ubuntu system when trying to get hard drive permissions right. I wanted to add a user to a certain group with usermod -G, but without realising I should also use -a, with the result that the user is now not longer in the sudo group. This is the only (regular) user on the system, which means I can not sudo usermod again to get it right. So what to do? The only solution I can think of is using a live disc to restore the group belongings, but I want to know if there's a quicker way. Also, I don't know what more groups the user was in. Is there a history? Or else, what are the default groups?
View 5 Replies
View Related
Apr 14, 2011
My main account 'dave' runs as admin etc This was the output of 'groups dave': dave adm dialout cdrom plugdev lpadmin sambashare admin I was trying to add dave to the user group 'media-www' and i ran this command: 'usermod -G media-www dave' Then after another 'groups dave':
dave : dave media-www It seems to have removed all the other groups! How do I restore this?
View 4 Replies
View Related