username / id
Hi all, Is there any function to get the user name if uid is known, and vice versa ? Similar for group. Thanks, Vu ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users
Re: username / id
- Original Message - From: James McDonald [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 30, 2003 5:57 AM Subject: Re: username / id Vu Pham wrote: Hi all, Is there any function to get the user name if uid is known, and vice versa ? Similar for group. Thanks, cat /etc/passwd | grep ^.*:x:500: | awk -F: '{print $1}' cat /etc/passwd | grep ^.*:x:[0-9]*:500 | awk -F: '{print $1}' This is probably not what you want but it does return a name from uid or gid... Oh, that works. I would like to know if there is an API so that I can use it in my C app, or do I need to run some commands like your suggestion and capture the output. Thanks, James. Vu ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users
Re: username / id
Thanks everybody who has replied. Perhaps I will go with one of the following suggestions : - popen with the cat /etc/passwd | grep or - read the /etc/passwd , /etc/group and parse them. Thanks ! Vu ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users
Re: FrontPage 2002 extension and Redhat 9
Net Llama! wrote: On Wed, 8 Oct 2003, Vu Pham wrote: I am installing Frontpage extenstion on Redhat 9 with apache 1.3.28, and get the following error: Creating web http://. ./fp_install.sh: line 2237: 5544 Segmentation fault ${FPDIR}/bin/owsadm.exe -o install -p $port $web $config -u $admin $chown -m "" ERROR: / installation failed. Hit enter to continue Does anybody experience this problem and how did you fix it ? My best guess is its related to the NPTL stuff in the RH9 kernel. Have you tried exporting LD_KERNEL_ASSUME=2.2.5 first? Thanks. I've just tried LD_KERNEL_ASSUME and export it, but still have the same problem. Vu ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users
Re: FrontPage 2002 extension and Redhat 9
- Original Message - From: Aaron Grewell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 09, 2003 11:30 AM Subject: Re: FrontPage 2002 extension and Redhat 9 My best guess is its related to the NPTL stuff in the RH9 kernel. Have you tried exporting LD_KERNEL_ASSUME=2.2.5 first? Thanks. I've just tried LD_KERNEL_ASSUME and export it, but still have the same problem. Have you downloaded the latest FPSE from MS? The one that comes with the CD's is probably too old for use with RH9. Yes, I downloaded the latest one from MS site. Thanks, Vu ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users
FrontPage 2002 extension and Redhat 9
I am installing Frontpage extenstion on Redhat 9 with apache 1.3.28, and get the following error: Creating web http://. ./fp_install.sh: line 2237: 5544 Segmentation fault ${FPDIR}/bin/owsadm.exe -o install -p $port $web $config -u $admin $chown -m ERROR: / installation failed. Hit enter to continue Does anybody experience this problem and how did you fix it ? Thanks, Vu ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users
tool for managing projects
Would you please let me know some tool for mamaging projects ? Of course, that tool needs to run on Linux or Unix :-) Thanks, Vu ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Re: tool for managing projects
Net Llama! wrote: sf.net? gforge? what kind of project, and what are you looking to manage? There are three development projects and two administration works I need to control. I would like something that can help me to make schedules, check the progress of the projects ... Thanks, Vu On Tue, 2 Sep 2003, vu pham wrote: Would you please let me know some tool for mamaging projects ? Of course, that tool needs to run on Linux or Unix :-) Thanks, Vu ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
samba end users
Is there any GUI tool that can help Windows users to set permissions for their files on a Samba share ? Thanks, Vu ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Re: samba end users
Aaron Grewell wrote: It is my understanding that if you have Samba set up right and a filesystem with proper ACL support that your users can modify their permissions from Windows Explorer just as they would for NT server. Here's a howto that is supposed to document this. Note that I've never tried it. :) http://www.bluelightning.org/linux/samba_acl_howto/ vu pham wrote: Is there any GUI tool that can help Windows users to set permissions for their files on a Samba share ? Thanks, Thanks for that interesting URL. I will give it a try, and will report back. Vu ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Re: samba end users
Net Llama! wrote: I'm just guessing here (i've never used Samba), but maybe SWAT or Webmin? On Thu, 28 Aug 2003, vu pham wrote: Is there any GUI tool that can help Windows users to set permissions for their files on a Samba share ? Thanks for the email. Currently I am using Webmin and it's good for me, but my customers are long-time-MS users, and they want something nicer than webmin. [ In fact,this morning I showed them how to use the CLI after ssh in, and they say Ok, let me use webmin :-). But if there is something nicer - to them - I woulk like to try ] Vu ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
samba as BDC
Hi all, I am looking for documentation to build a Samba server ( I am using Samba 2.2.7 on RH 9 ) as a backup domain controller. All of my searches returned results for Samba server as primary controller. Have anybody tried Samba as BDC ? Could you pelase share me some experience ? Thanks, Vu ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users