12-10-2008
I figure this out myself, if user and group are the same and userid is greater than 99 then it will use umask 022...
which most of the system userid have the same user name and group name but less than 99 on the userid, so they are not included.
The only one I've seen on my user list is the nfsnobody with the same name and group and the userid is 4294967294. So this is intended for this user.
But how does nfsnobody login to the server? And I don't think that nfs services is ON on my system.
Any idea? Or maybe it's nfs and umask need to be 022. Able to read by others.
Thanks.
Last edited by itik; 12-10-2008 at 06:14 AM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
:) as soon as i installed my software a couple of weeks ago..
(fedora core 2 vs, 2.6.8-1.521) i decided to switch the shell to sh shell and i know that .bashrc is the bash profile file(???) i want to use the sh version of the same file and make it the main profile file.. how can I switch it and... (3 Replies)
Discussion started by: moxxx68
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I was instructed to find all the .bashrc files on my system, that MODIFY the PS1 varaible.
here is what i've come up with so far:
ls / .bashrc -print
woo.
But thats not all. I need to display the full file name ( Including the full path ) and protection.
- I can display... (4 Replies)
Discussion started by: oxoxo
4 Replies
3. UNIX for Dummies Questions & Answers
hey guys,
i've tried countless times to do this and have come up with:
find / type -f ".bashrc" -exec grep PS1 '{}' \; 2>/dev/null | ls -l
which tells bash:
find all the files in the system with the name .bashrc and look for modifcations to PS1 and terminate and rediret error msgs... (8 Replies)
Discussion started by: oxoxo
8 Replies
4. Shell Programming and Scripting
hi i am using cygwin and would like to modify my .bashrc file. How can search to find where it is? I have looked at multiple bashrc file in /etc but none of them seemed to work..thanks (12 Replies)
Discussion started by: npatwardhan
12 Replies
5. Shell Programming and Scripting
i have made a few changes to my bashrc file...have set a few environmental variable that my shell scripts use. Is there any way that these changes can reflect in evryone else's bashrc who are in the network or do all of them have to copy those changes to their own bashrc file. (2 Replies)
Discussion started by: lassimanji
2 Replies
6. Shell Programming and Scripting
Hi experts,
I am using bash shell and I cant find any .bashrc file in my home dir. Can anybody please help me out here....
If .bashrc file is not there, from where my shell config operates? Also I want to set my prompt like...
$
Please advice. (5 Replies)
Discussion started by: gentleDean
5 Replies
7. Shell Programming and Scripting
I am trying to do some changes at bashrc file located at /etc directory of my server. First I tried to edit bashrc via FTP downloaded on my pc changed it and loaded back, but it seems like changes are not reflecting.
Therefore I tried to change it via putty shel using vim bashrc command. but... (4 Replies)
Discussion started by: ninadgac
4 Replies
8. UNIX for Advanced & Expert Users
Could someone please tell me how to unset your .bashrc? I have tried all of these. I can't find anything useful from google.
unset -f .bashrc
unset .bashrc (9 Replies)
Discussion started by: cokedude
9 Replies
9. Fedora
I am getting this:
cmccabe@DTV-A5211QLM:~$ cat ~/.bashrc
Command 'cat' is available in '/bin/cat'
The command could not be located because '/bin' is not included in the PATH environment variable.
cat: command not found
cmccabe@DTV-A5211QLM:~$ nano .bashrc
Command 'nano' is available in... (9 Replies)
Discussion started by: cmccabe
9 Replies
10. UNIX for Advanced & Expert Users
Are there any advantages of doing one over the other in your .bashrc? They both seem to do the same thing.
HISTFILESIZE=10000
HISTSIZE=10000export HISTFILESIZE=10000
export HISTSIZE=10000 (4 Replies)
Discussion started by: cokedude
4 Replies
LEARN ABOUT SUSE
net::xmpp::jid
Net::XMPP::JID(3) User Contributed Perl Documentation Net::XMPP::JID(3)
NAME
Net::XMPP::JID - XMPP JID Module
SYNOPSIS
Net::XMPP::JID is a companion to the Net::XMPP module.
It provides the user a simple interface to set and retrieve all
parts of a Jabber ID (userid on a server).
DESCRIPTION
To initialize the JID you must pass it the string that represents the
jid from the XML packet. Inside the XMPP modules this is done
automatically and the JID object is returned instead of a string.
For example, in the callback function for the XMPP object foo:
use Net::XMPP;
sub foo {
my $foo = new Net::XMPP::Foo(@_);
my $from = $foo->GetFrom();
my $JID = new Net::XMPP::JID($from);
.
.
.
}
You now have access to all of the retrieval functions available.
To create a new JID to send to the server:
use Net::XMPP;
$JID = new Net::XMPP::JID();
Now you can call the creation functions below to populate the tag
before sending it.
Retrieval functions
$userid = $JID->GetUserID();
$server = $JID->GetServer();
$resource = $JID->GetResource();
$JID = $JID->GetJID();
$fullJID = $JID->GetJID("full");
$baseJID = $JID->GetJID("base");
Creation functions
$JID->SetJID(userid=>"bob",
server=>"jabber.org",
resource=>"Work");
$JID->SetJID('blue@moon.org/Home');
$JID->SetUserID("foo");
$JID->SetServer("bar.net");
$JID->SetResource("Foo Bar");
METHODS
Retrieval functions
GetUserID() - returns a string with the userid of the JID.
If the string is an address (bob%jabber.org) then
the function will return it as an address
(bob@jabber.org).
GetServer() - returns a string with the server of the JID.
GetResource() - returns a string with the resource of the JID.
GetJID() - returns a string that represents the JID stored
GetJID("full") within. If the "full" string is specified, then
GetJID("base") you get the full JID, including Resource, which
should be used to send to the server. If the "base",
string is specified, then you will just get
user@server, or the base JID.
Creation functions
SetJID(userid=>string, - set multiple fields in the jid at
server=>string, one time. This is a cumulative
resource=>string) and over writing action. If you set
SetJID(string) the "userid" attribute twice, the second
setting is what is used. If you set
the server, and then set the resource
then both will be in the jid. If all
you pass is a string, then that string
is used as the JID. For valid settings
read the specific Set functions below.
SetUserID(string) - sets the userid. Must be a valid userid or the
server will complain if you try to use this JID
to talk to the server. If the string is an
address then it will be converted to the %
form suitable for using as a User ID.
SetServer(string) - sets the server. Must be a valid host on the
network or the server will not be able to talk
to it.
SetResource(string) - sets the resource of the userid to talk to.
AUTHOR
Ryan Eatmon
COPYRIGHT
This module is free software, you can redistribute it and/or modify it under the LGPL.
perl v5.12.1 2010-07-05 Net::XMPP::JID(3)