Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - rahulbaba

Pages: [1] 2
1
@rahulbaba.. If you are still looking for solution to your problem, here is how I solved the same problem as yours but without digging the other files like /etc/shadow or /etc/passwd etc.

in the terminal

Code: [Select]
sudo pam-auth-update --force
press enter till authentication dialog box goes away

Hope it helps.

Thank You for replying. I have tried almost everything, but still the problem is their. I have tried that solution, after entering the command, I got the PAM Package configuration screen(attached the screenshot) and pressed enter. After that when I tried to change the password, I am getting this now -

Code: [Select]
root@openserver:~# passwd user1
passwd: Authentication information cannot be recovered
passwd: password unchanged

2
Installation and Upgrades / Re: Regarding Static Routes
« on: April 17, 2012, 04:37:13 pm »
You are taking a complicated approach here: get your zentyal server connected directly to the two routers, one network interface for each one. Then use a third interface to connect to the LAN and use virtual interfaces if you have more than one subnet in the LAN.

Not able to understand properly?

3
Installation and Upgrades / Re: Regarding Static Routes
« on: March 05, 2012, 01:13:01 pm »
Only because you look so unhappy :)

I am not much of a fan of the firewall and iprouting command line.

At a guess at the above your trying to use port forwarding?

So thats the port forwarding section of the firewall module.

Thats a guess of an answer as you would probably better to explain what you want to achieve in a more simplistic manner that I might understand :)

I want to do this -

I have internet connection provided by two ISP. Gateway for one Router A is 192.168.1.3 and 192.168.2.1 for second Router B.

There are two switches, Switch A for Router A and Switch B for Router B. I have connected both switches via LAN cable, so that If one network is down, I can access Internet via other one.
The server is configured on the Router A. Now, the machines connected on Switch A is able to access the server.

So my question was, Is there any way I can make the server available for those machines which are connected to Switch B (Router B)?

I got this solution in the ubuntuforums -

Here's a good HOWTO: http://www.cyberciti.biz/tips/howto-...iguration.html

You'll need two entries like the one given there, one for eth0 and one for eth1. Only one interface should have a default gateway defined that points to the Internet, or you can have both of them point to their respective Internet routers, with one route assigned a higher "metric" than the other. This is an advanced configuration; for now, just give eth0 a default gateway.

This will let both machines see the server, though machines connected to one network won't be able to send traffic to the other unless you enable IP forwarding in /etc/sysctl.conf. Read the instructions in that file for details.

If traffic coming to eth1 needs to get out to the Internet, you'll need to use "masquerading" via the iptables command. If eth0 points to the Internet, you'd run the command:

Code: [Select]
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

Any idea, regarding above thing.

4
Installation and Upgrades / Re: Regarding Static Routes
« on: March 01, 2012, 03:03:08 pm »
i think that im getting what the TS  is trying to do...

if you have 2 ads modems and you want to use both of them in a fail over mode / or a load balanced mode, 
the best practis is to do  this...

modem a  192.168.0.1
modem b  192.168.1.1

zentyal wan (a) 192.168.0.2
zentyal wan (b) 192.168.1.2
zentyal  lan  192.168.10.1

and obviously connect all your pc's  / clients to your  lan side of zentyal..


sharing a wan and a lan function on a single nick on a corporate network  is not a real good idea (specially if you want it to become a default gateway...

Thank You for replying.
Sorry, but I was not able to understand this, as I am very dumb at networking concept. Also, I want to tell you that the zentyal server is used as web server for internal development purpose. It is not configured as DHCP server, there is no role of server in internet connectivity process.

5
Installation and Upgrades / Re: Regarding Static Routes
« on: February 29, 2012, 02:20:30 pm »
Only because you look so unhappy :)

I am not much of a fan of the firewall and iprouting command line.

At a guess at the above your trying to use port forwarding?

So thats the port forwarding section of the firewall module.

Thats a guess of an answer as you would probably better to explain what you want to achieve in a more simplistic manner that I might understand :)

I want to do this -

I have internet connection provided by two ISP. Gateway for one Router A is 192.168.1.3 and 192.168.2.1 for second Router B.

There are two switches, Switch A for Router A and Switch B for Router B. I have connected both switches via LAN cable, so that If one network is down, I can access Internet via other one.
The server is configured on the Router A. Now, the machines connected on Switch A is able to access the server.

So my question was, Is there any way I can make the server available for those machines which are connected to Switch B (Router B)?

I got this solution in the ubuntuforums -

Here's a good HOWTO: http://www.cyberciti.biz/tips/howto-...iguration.html

You'll need two entries like the one given there, one for eth0 and one for eth1. Only one interface should have a default gateway defined that points to the Internet, or you can have both of them point to their respective Internet routers, with one route assigned a higher "metric" than the other. This is an advanced configuration; for now, just give eth0 a default gateway.

This will let both machines see the server, though machines connected to one network won't be able to send traffic to the other unless you enable IP forwarding in /etc/sysctl.conf. Read the instructions in that file for details.

If traffic coming to eth1 needs to get out to the Internet, you'll need to use "masquerading" via the iptables command. If eth0 points to the Internet, you'd run the command:

Code: [Select]
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

6
Installation and Upgrades / Re: Regarding Static Routes
« on: February 29, 2012, 11:47:41 am »
 :(

7
Installation and Upgrades / Regarding Static Routes
« on: February 27, 2012, 10:58:45 am »
Hi,

How can I achieve this via Zentyal web interface -

Code: [Select]
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

8
Thank You very much for replying. Yes it is there in /etc/group, this is the output -

Code: [Select]
serveradmin@openserver:~$ cat /etc/group | grep serveradmin
root:x:0:serveradmin,nexussalary,library
adm:x:4:ebox,serveradmin,nexussalary
dialout:x:20:serveradmin,asterisk
cdrom:x:24:serveradmin,ebox
www-data:x:33:serveradmin
plugdev:x:46:serveradmin
serveradmin:x:1000:nexussalary,library
lpadmin:x:117:serveradmin,ebox
sambashare:x:118:serveradmin
admin:x:119:serveradmin,domainadmin
libvirtd:x:129:serveradmin

I already tried with pwconv, but that blocked the user,"serveradmin", from accessing the zentyal web interface. Now, I am no more able to login to zentyal web interface using this username.

9
Installation and Upgrades / Re: vsftpd.conf not saving
« on: February 23, 2012, 07:54:37 am »
That's because of the mason template system used by Zentyal. Config files will be overwritten at service restart or reboot.

Read http://trac.zentyal.org/wiki/Documentation/Community/HowTo/CustomizeConfigFiles and http://trac.zentyal.org/wiki/Documentation/Community/HowTo/ChangeEboxTemplates for more info.
Keep in mind that as of Zentyal 2.2 the path has changed to /usr/share/zentyal/stubs/

Thank You very much. I got it work.

10
Seems everything OK.Do you can paste into rows for this user from /etc/passwd and /etc/shadow?For compare with my user...

Here is the output -

Code: [Select]
serveradmin@openserver:~$ cat /etc/shadow | grep serveradmin
serveradmin:$6$enN7XBpM$Pywjq36pESgNwToun4009DmvqsyG2YTSi/ksBhoBk27QyEmGo2d.FVkwvDr41FdV44jLv/unWtGCaEdeeBlMP1:15336:0:99999:7:::
Code: [Select]
serveradmin@openserver:~$ cat /etc/passwd | grep serveradmin
serveradmin:x:1000:1000:Application Nexus:/home/serveradmin:/bin/bash

11
Yes my user is present in those files. In /etc/group - adm:x:4:ebox,serveradmin,nexussalary

12
Installation and Upgrades / vsftpd.conf not saving
« on: February 21, 2012, 12:49:39 pm »
I added this "local_root=public_html" in the vsftpd configuration file. However, whenever I am rebooting the server, all the settings which were manually entered in the vsftpd.conf file is getting removed automatically. I do not know what is happening?

13
Installation and Upgrades / Re: Creating FTP Users
« on: February 21, 2012, 06:25:28 am »
I think that I need to install Webmin for FTP user, should I install the webmin for creating ftp users only. Will this affect the current zentyal installation. I just want to use webmin for FTP users, as zentyal does not have such kind of features.

Please help me.

14
This issue is never going to solve. :-[

15
Installation and Upgrades / Re: Creating FTP Users
« on: February 17, 2012, 05:48:33 am »
I think I will not be able to solve this problem. Should I install Webmin for creating ftp users only?

Pages: [1] 2