Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 22nd July 2005, 02:12 PM
overlord Offline
Registered User
 
Join Date: May 2005
Posts: 69
"grep" username in samba or grep file owner?

hello forum,
I have a samba-pdf-printer.
so far so good.further have a script that calls ps2pdf to create a .pdf in PDF-Share named a few date+time parameters.
my goal is to append the username who makes the .pdf!
the shell command "logname" does not work,because samba access is via user "nobody"

so my 2 ideas:
1) log the samba-user who creates the pdf-file and grep the username
or
2) look for the owner of the pdf-file in the directory and append this username to the filename

does anybody have any (other) better ideas or corrections?
how to do? any help welcome!

greetz
Reply With Quote
Reply

Tags
file, grep, owner, samba, username

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem w/ "sudo lsusb -v | grep -i Serial" command vitasoy Using Fedora 2 14th September 2008 06:07 PM
Need help with "grep" command pinenut Using Fedora 20 8th February 2006 10:44 PM
"grep" does not work,help first007boy Using Fedora 8 19th January 2006 03:48 AM
Samba FC3 rpm -qa | grep "samba" cwynn Servers & Networking 12 30th December 2004 02:00 PM
I type grep too fast and "gre" simulteneously opens help app John Hopkins Using Fedora 0 19th December 2004 09:18 AM


Current GMT-time: 07:01 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat