Sponsored Content
Operating Systems Solaris find home directory paths for all users Post 302296893 by vbe on Thursday 12th of March 2009 06:05:20 AM
Old 03-12-2009
What has your question to do with thread subject?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Restrict users to ther home directory

Hello! I want users in a certain group to be restricted to their home directory. So that they have full access to all files and folders in their home directory but the cant go to any directory above. Does anyone know how to do this? Anders (1 Reply)
Discussion started by: alfabetman
1 Replies

2. Programming

Monitor which users enter my home directory

Hi, I would like to monitor which users enter my home directory. Is it possible to write a script or code to do this. I donot have admin privileges. I have given read permissions to access my home directory. Any pointers in this direction is helpful! Thanks, Pradeep Ps: I use the... (1 Reply)
Discussion started by: mnpradeep
1 Replies

3. UNIX for Dummies Questions & Answers

Profiles for users without home directory

Hi I want to know which profile will be called when a user without home directory is created. When I created a user without home directory(by setting in /etc/default/useradd), the user is able to login directly into the main "/" folder but with only read permissions. Thanks naina (3 Replies)
Discussion started by: naina
3 Replies

4. UNIX for Dummies Questions & Answers

Home Directory Jail for Users

Hi, I am looking for a shell script (or any other way), that puts a user in a home directory jail. So for example, I have a user named richard and I don't want him wandering outside /usr/users/richard. I don't want him to cd to anywhere including cd .. Somebody said you can do that with... (3 Replies)
Discussion started by: mz043
3 Replies

5. UNIX for Dummies Questions & Answers

lost /home/directory for users

I'm using HPUX 11i. The other day a user logon to the workstation and was not able to find the /home/directory (tom is the directory) I login myself and it is the same thing. The home directory is on the server, so I was thinking of using sam to map it again. does anyone know how to do it... (5 Replies)
Discussion started by: blizzgamer
5 Replies

6. Solaris

Common Home directory for different users??

Hi Guys, I have a problem with configuring a server. this is a solaris 10 with sparc platform. I have setup so that the server is Authenticating through NIS but I dont want the server to Mount the Home directories. The users need to logged in through the CDE/display. I have over 200 users... (2 Replies)
Discussion started by: Luky
2 Replies

7. UNIX for Advanced & Expert Users

about the access permission of users home directory

RHEL5.0 As we know, when root create a new user, a new home directory will be created : /home/user I want to know what determine the access permission of /home/user . Thanks! (1 Reply)
Discussion started by: cqlouis
1 Replies

8. Shell Programming and Scripting

script to check for a directory in /home for all users

Following on from this post: https://www.unix.com/shell-programming-scripting/150201-simple-script-mount-folder-all-users-home.html and getting told off for bumping the thread:( Please could someone help me with a short script to check is a certain directory is present in /home for all users... (8 Replies)
Discussion started by: barrydocks
8 Replies

9. Emergency UNIX and Linux Support

NIS created users without a home directory

Hi all, So I have created two Centos machines. One is configured as a NIS master and the second is a NIS cleint. The NIS configs are all working perfectly. I created a user nisuser on NIS Master and I can use it on the client. BUT it doesnt show a home directory . Ive been told there is... (9 Replies)
Discussion started by: Junaid Subhani
9 Replies

10. UNIX for Advanced & Expert Users

Permissions on a directory in /home for all users

Hi, I have created a shared directory on /home, where all users on a certain group have read, write and execute permissions. I did this using chmod -R g+rwx /home/shared/ The problem is, when a particular user creates a directory within /home/shared, other users are not able to write to... (8 Replies)
Discussion started by: lost.identity
8 Replies
Thread(3pm)						User Contributed Perl Documentation					       Thread(3pm)

NAME
Mail::Thread - Perl implementation of JWZ's mail threading algorithm SYNOPSIS
use Mail::Thread; my $threader = new Mail::Thread (@messages); $threader->thread; dump_em($_,0) for $threader->rootset; sub dump_em { my ($self, $level) = @_; print ' \-> ' x $level; if ($self->message) { print $self->message->head->get("Subject") , " "; } else { print "[ Message $self not available ] "; } dump_em($self->child, $level+1) if $self->child; dump_em($self->next, $level) if $self->next; } DESCRIPTION
This module implements something relatively close to Jamie Zawinski's mail threading algorithm, as described by http://www.jwz.org/doc/threading.html. Any deviations from the algorithm are accidental. It's happy to be handed any mail object supported by "Email::Abstract". If you need to do anything else, you'll have to subclass and override "_get_hdr". METHODS
new(@messages) Creates a new threader; requires a bunch of messages to thread. thread Goes away and threads the messages together. rootset Returns a list of "Mail::Thread::Container"s which are not the parents of any other message. order($ordering_sub) calls "order_children" over each member of the root set, from one level higher "Mail::Thread::Container" methods "Mail::Thread::Container"s are the nodes of the thread tree. You can't just have the ordinary messages, because we might not have the message in question. For instance, a mailbox could contain two replies to a question that we haven't received yet. So all "logical" messages are stuffed in containers, whether we happen to have that container or not. To do anything useful with the thread tree, you're going to have to recurse around the list of "Mail::Thread::Containers". You do this with the following methods: parent child next Returns the container which is the parent, child or immediate sibling of this one, if one exists. message Returns the message held in this container, if we have one. messageid Returns the message ID for this container. This will be around whether we have the message or not, since some other message will have referred to it by message ID. header( $name ) returns the named header of the contained message subject returns the subject line of the contained message isreply examines the results of ->subject and returns true if it looks like a reply simple_subject the simplified version of ->subject (with reply markers removed) has_descendent($child) Returns true if this container has the given container as a child somewhere beneath it. add_child($child) Add the $child as a child of oneself. remove_child($child) Remove the $child as a child from oneself. children Returns a list of the immediate children of this container. set_children(@children) set the children of a node. does not update the ->parents of the @children order_children($ordering_sub) Recursively reorders children according to the results of $ordering_sub $ordering_sub is called with the containers children, and is expected to return them in their new order. # order by subject line $container->order_children( sub { sort { $a->topmost->message->subject cmp $b->topmost->message->subject } @_ } ); $ordering_sub may be omitted, in which case no ordering takes place topmost Walks the tree depth-first and returns the first message container found with a message attached recurse_down($callback) Calls the given callback on this node and all of its children. DEBUGGING
You can set $Mail::Thread::debug=1 to watch what's going on. MAINTAINER
Tony Bowden BUGS and QUERIES Please direct all correspondence regarding this module to: bug-Mail-Thread@rt.cpan.org ORIGINAL AUTHOR
Simon Cozens, <simon@cpan.org> COPYRIGHT AND LICENSE
Copyright 2003 by Kasei Copyright 2004 by Simon Cozens This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.0 2006-10-30 Thread(3pm)
All times are GMT -4. The time now is 03:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy