From: kotrappa.devershe...@wipro.com [mailto:kotrappa.devershe...@wipro.com]
Sent: Tuesday, March 17, 2015 10:09 PM
To: Shi, Yao-Bin (Larry, GBU-HPSW, Cloud and OS); Gobeille, Robert
Cc: fossology@lists.fossology.org
Subject: RE: fossology commands does not recognize .fossology.rc file with user 
id/pwd of fossology

Hello Lary,

I was in root login when I execute fossology commands, and I missed placing 
.fossology.rc in /root.
Now it works without this patch.

One more issue is, if I am in some user login say /home/wipro and I execute 
fossology commands, I get a message “ You must be in group “fossy””.
Why is this restriction ?
[Shi, Yao-Bin (Larry, GBU-HPSW, Cloud and OS)] please put the current user into 
fossy group.


Do we need to create login user called “fossy” mandatorily ?
[Shi, Yao-Bin (Larry, GBU-HPSW, Cloud and OS)]
There are 2 type of users:
Linux user account and fossology project user account.
Linux user account:
You will find that, after your fossology is installed successfully,
Linux will have a user/group fossy/fossy, all fossology files are belong to 
fossy/fossy(user/group).
In order to have the permission to execute some fossology files,  when you run 
cp2foss, the current user  should have permission, that mean root user or 
belong to fossy group.

Fossology project user account:
After installation, fossy is the  default admin user for fossology project.
Do not have to add it manually.
In case you have get rid of this user from fossology project, you have to add 
another user. Cp2foss will user them(--username, --password)



From: Shi, Yao-Bin (Larry, GBU-HPSW, Cloud and OS) [mailto:yao-bin....@hp.com]
Sent: 17 March 2015 14:31
To: Kotrappa DeverShetty (WT01 - Manufacturing & Hi Tech); Gobeille, Robert
Cc: fossology@lists.fossology.org<mailto:fossology@lists.fossology.org>; 
Ravishankar T.S (WT01 - Manufacturing & Hi Tech)
Subject: RE: fossology commands does not recognize .fossology.rc file with user 
id/pwd of fossology

Hi Kotrappa,

Please apply this patch 
https://github.com/fossology/fossology/commit/77c51dceb51991252e995a11a204bda3ab4aec92#diff-8a4d83510c38b443084833a2de2e6aaa
 to your  /usr/{local}/share/fossology/lib/php/common-auth.php in  2.6.1 
fossology, then test again. Hope it is helpful.
-Larry

From: kotrappa.devershe...@wipro.com<mailto:kotrappa.devershe...@wipro.com> 
[mailto:kotrappa.devershe...@wipro.com]
Sent: Monday, March 16, 2015 12:12 PM
To: Shi, Yao-Bin (Larry, GBU-HPSW, Cloud and OS); Gobeille, Robert
Cc: fossology@lists.fossology.org<mailto:fossology@lists.fossology.org>; 
ravishankar.thaga...@wipro.com<mailto:ravishankar.thaga...@wipro.com>
Subject: Re: fossology commands does not recognize .fossology.rc file with user 
id/pwd of fossology


​Hello Lary,



Thanks for the reply.

No, the issue is still the same.



Best regards

Kotrappa.

________________________________
From: Shi, Yao-Bin (Larry, GBU-HPSW, Cloud and OS) 
<yao-bin....@hp.com<mailto:yao-bin....@hp.com>>
Sent: 16 March 2015 09:17
To: Kotrappa DeverShetty (WT01 - Manufacturing & Hi Tech); Gobeille, Robert
Cc: fossology@lists.fossology.org<mailto:fossology@lists.fossology.org>; 
Ravishankar T.S (WT01 - Manufacturing & Hi Tech)
Subject: RE: fossology commands does not recognize .fossology.rc file with user 
id/pwd of fossology

Hi Kotrappa,

Sorry for the late response, I was in a long FTO during the last month, have 
you got the issues fixed in this thread?

-Larry

From: kotrappa.devershe...@wipro.com<mailto:kotrappa.devershe...@wipro.com> 
[mailto:kotrappa.devershe...@wipro.com]
Sent: Monday, February 16, 2015 8:11 PM
To: Shi, Yao-Bin (Larry, GBU-HPSW, Cloud and OS); Gobeille, Robert
Cc: fossology@lists.fossology.org<mailto:fossology@lists.fossology.org>; 
ravishankar.thaga...@wipro.com<mailto:ravishankar.thaga...@wipro.com>
Subject: RE: fossology commands does not recognize .fossology.rc file with user 
id/pwd of fossology

Hello Lary,

Please find reply to your questions.

>>Before you run cp2foss ./upload , please make sure the current user has the 
>>permission to read .fossology.rc and set the correct user and password in 
>>.fossology.rc
I run commands with root login, hence I think there is no issues here.

>>If still fail, please paste the error message.
Please find attached error message, and other details.

>>Which version of fossology are you using? OS?
2.6.1, Ubuntu 13.10 OS.

>>Are you able to run cp2foss –user fossy –passworf fossy ./upload?
Yes, No issues here.


Best regards
Kotrappa.



From: Shi, Yao-Bin (Larry, GBU-HPSW, Cloud and OS) [mailto:yao-bin....@hp.com]
Sent: 03 February 2015 08:36
To: Kotrappa DeverShetty (WT01 - Manufacturing & Hi Tech); Gobeille, Robert
Cc: fossology@lists.fossology.org<mailto:fossology@lists.fossology.org>; 
Ravishankar T.S (WT01 - Manufacturing & Hi Tech)
Subject: RE: fossology commands does not recognize .fossology.rc file with user 
id/pwd of fossology

Hi Kotrappa,

Before you run cp2foss ./upload , please make sure the current user has the 
permission to read .fossology.rc and set the correct user and password in 
.fossology.rc
If still fail, please paste the error message.
Which version of fossology are you using? OS?
Are you able to run cp2foss –user fossy –passworf fossy ./upload?

-Larry
From: kotrappa.devershe...@wipro.com<mailto:kotrappa.devershe...@wipro.com> 
[mailto:kotrappa.devershe...@wipro.com]
Sent: Friday, January 30, 2015 5:38 PM
To: Shi, Yao-Bin (Larry, GBU-HPSW, Cloud and OS); Gobeille, Robert
Cc: fossology@lists.fossology.org<mailto:fossology@lists.fossology.org>; 
ravishankar.thaga...@wipro.com<mailto:ravishankar.thaga...@wipro.com>
Subject: RE: fossology commands does not recognize .fossology.rc file with user 
id/pwd of fossology

Hi Lary

I placed the .fossology.rc with following changes  suggested by you in 
/home/fossy , /home/<login_user> , / and current directory where my automated 
script executes, but no luck.

Regards
Kotrappa.

From: Shi, Yao-Bin (Larry, GBU-HPSW, Cloud and OS) [mailto:yao-bin....@hp.com]
Sent: 30 January 2015 08:10
To: Kotrappa DeverShetty (WT01 - Manufacturing & Hi Tech); Gobeille, Robert
Cc: fossology@lists.fossology.org<mailto:fossology@lists.fossology.org>; 
Ravishankar T.S (WT01 - Manufacturing & Hi Tech)
Subject: RE: fossology commands does not recognize .fossology.rc file with user 
id/pwd of fossology

Hi Kotrappa,

We are sorry for that, please try the blow again:
user=fossy
password=fossy

will fix soon.
-Larry

From: fossology [mailto:fossology-boun...@lists.fossology.org] On Behalf Of 
kotrappa.devershe...@wipro.com<mailto:kotrappa.devershe...@wipro.com>
Sent: Thursday, January 29, 2015 6:34 PM
To: Gobeille, Robert
Cc: fossology@lists.fossology.org<mailto:fossology@lists.fossology.org>; 
ravishankar.thaga...@wipro.com<mailto:ravishankar.thaga...@wipro.com>
Subject: [FOSSology] fossology commands does not recognize .fossology.rc file 
with user id/pwd of fossology

Hello Bob,

Fossology commands does not recognize the fossology user id/password if 
.fossology.rc file is placed in /home/<login_user> or /  or current directory
Please let us know if any other way.
I want to bypass giving user id/password when executing fossology command like 
cp2foss, fo_nomos_license_list, fo_copyright_list etc.
The contents of .fossology.rc are like this
--
$ cat .fossology.rc
username=fossy
password=fossy
--
Thanks & Regards
Kotrappa.
The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. WARNING: Computer viruses can be transmitted via email. The 
recipient should check this email and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused by any virus 
transmitted by this email. www.wipro.com<http://www.wipro.com>
The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. WARNING: Computer viruses can be transmitted via email. The 
recipient should check this email and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused by any virus 
transmitted by this email. www.wipro.com<http://www.wipro.com>
_______________________________________________
fossology mailing list
fossology@lists.fossology.org
http://lists.fossology.org/mailman/listinfo/fossology

Reply via email to