150 reputation
8
bio website
location
age
visits member for 1 year, 6 months
seen Apr 7 at 14:27

Mar
20
comment Reading apache error logs from php
It seems it will not hurt the system though superuser.com/questions/86347/… . Probably a linux guru might comment
Mar
20
comment Reading apache error logs from php
yes issue is resolved. I am not sure how much secure that method is. I've to dig in further.
Mar
20
comment Reading apache error logs from php
commands were : sudo usermod -G adm www-data sudo service apache2 restart
Mar
20
comment Reading apache error logs from php
@Gnouc, forgive me , the issue is resolved now . The trick was using adm group ubuntuforums.org/showthread.php?t=1318346. Adding www-data user to adm group and restarting the apache worked like a charm Thanks
Mar
20
revised Reading apache error logs from php
added 183 characters in body
Mar
20
revised Reading apache error logs from php
added 132 characters in body
Mar
20
asked Reading apache error logs from php
Mar
1
comment Creating a linux user with limited privileges for ssh tunnelling
@MJD thanks for clarifying
Feb
28
awarded  Teacher
Feb
28
answered Creating a linux user with limited privileges for ssh tunnelling
Feb
28
comment Creating a linux user with limited privileges for ssh tunnelling
-rw------- 1 ghost ghost 400 Feb 28 10:04 authorized_keys
Feb
28
comment Creating a linux user with limited privileges for ssh tunnelling
please see the edits. I added logs they are not showing any useful stuff. But i sshd_config file AuthorizedKeysFile seems to be commented out
Feb
28
revised Creating a linux user with limited privileges for ssh tunnelling
added 813 characters in body
Feb
28
comment Creating a linux user with limited privileges for ssh tunnelling
@JennyD please guide me how to check
Feb
28
revised Creating a linux user with limited privileges for ssh tunnelling
added 279 characters in body
Feb
28
comment Creating a linux user with limited privileges for ssh tunnelling
@Kiwy please see the complete log, it was me who truncated logs sorry .
Feb
28
revised Creating a linux user with limited privileges for ssh tunnelling
log updated
Feb
28
comment Creating a linux user with limited privileges for ssh tunnelling
@Kiwy, please see logs , My assumption is that the rsa public key generated by command ssh-keygen -t rsa does not add proper host name bcz as I cat the key file I see it ending with vagrant@precise64 instead of the instance ip address which is 192.168.33.31 in this case. The question is how to generate rsa keys for specifics user@ip address
Feb
28
revised Creating a linux user with limited privileges for ssh tunnelling
added 1636 characters in body
Feb
28
comment Creating a linux user with limited privileges for ssh tunnelling
I have added the ssh keys as describe in the article. Created ssh keys on the client side and uploaded to serverside and appended the keys to newly created user myuser's authorized_keys file. But still no luck : vagrant@precise64:~$ ssh -fNg -L 3307:127.0.0.1:3306 myuser@192.168.33.55 myuser@192.168.33.55's password: . It should not prompt for password given the ssh keys