06-26-2003
if you have the smb share mounted at boot with an rc script, then you could append to that script placing another script which will take care of the popup.
hmm that dosnt make too much sense.
ok, first of all this is a solution for the linux clients. if at boot time, you have a script that is run to mount smb shares, you could add to that script a line which would make executable ( chmod +x filename ) an already existing script in that users home directory in there .bashrc or whatever shell they are using 's login file.
additionally this would also remove the executable bit on the popup script so that the message is NOT displayed when the smb share is not mounted.
i tried to make that as clear as i could, if you are unsure of what i am suggesting please post back with questions i will try to answer.
9 More Discussions You Might Find Interesting
1. Solaris
Does anyone know how to create a popup window in solaris 8 and later?
I want to create and load a popup window when a user logon to a solaris machine and inform the user about some environment changes we have done.
Can this easily be done? And if soo how?
/Tony (0 Replies)
Discussion started by: tonlu
0 Replies
2. UNIX for Dummies Questions & Answers
Hi guys, I'm new to these forums. I'm more of a Windows guy, but I work at an electronics manufacture company that uses Solaris 10 extensively. We have Sunfire v480 servers set up to do system level testing. Everything is networked so you telnet into any server from any computer in the facility.... (1 Reply)
Discussion started by: Daniel.a
1 Replies
3. Cybersecurity
Hi,
Sorry if this is in the wrong forum.
Anyway help I would appreciate.
How do or or where would I find info (tried google but it's just a bit hard to understand & have no how to implement it).
What I've got is a standard garden variety user registration form (php). It allows people to... (1 Reply)
Discussion started by: justanob
1 Replies
4. Shell Programming and Scripting
Hi ,
this is my first querry in this forum and I am new bee to the shell scripting..Please have a glance on my query and give ur valuable suggestions .
I have a crown job which performs one function,If the job has done successfully we need to send message to some group as "SUCCESSFUL" or else we... (0 Replies)
Discussion started by: elavv
0 Replies
5. Shell Programming and Scripting
file:///C:/DOCUME%7E1/eelavazh/LOCALS%7E1/Temp/moz-screenshot-1.jpgHI,,
I am new to the shell scripting and trying to be adopted soon...Can u please suggest me how do we populate a message when the following condition fails......
Thanks and Regards,
Ela
success250=`grep -c... (0 Replies)
Discussion started by: elavv
0 Replies
6. Shell Programming and Scripting
Hi,
I am trying to automate one of the application using IE:Auotmation in perl
My web application has few text fields and 2 buttons "Save Changes" and "Discard Changes".I have written code to enter values to the text fields fetching from input file and click the button "Save Changes".As soon as... (0 Replies)
Discussion started by: jyo123.jyothi
0 Replies
7. Shell Programming and Scripting
Hi,
I work for Xerox.
As a new guy, I was recently pranked by the resident Solaris guru.:cool:
This is a celebrated event. I must now prank back in an equally flawless fashion.
I wish to get back to him by writing a script that will generate an annoying popup randomly, a small window that... (1 Reply)
Discussion started by: orchus
1 Replies
8. Red Hat
Hello,
I integrated AD to CentOS 6 for authentication, I am seeing these samba error on the log messages, what configuration changes need to be updated inorder to get rid of these error messages.
Jan 16 14:53:21 HOSTNAME1 smbd: printing/print_cups.c:109(cups_connect)
Jan 16 14:53:21... (0 Replies)
Discussion started by: bobby320
0 Replies
9. UNIX for Advanced & Expert Users
Hi all,
I need something like a pop-up while clicking on shutdown button or reboot button in GUI and also while running the command reboot / shutdown / init it should ask some confirmation message.. Do you want to do so..and so.
How can i make this possible ?
. (4 Replies)
Discussion started by: linuxadmin
4 Replies
LEARN ABOUT CENTOS
regtree
REGTREE(1) System Administration tools REGTREE(1)
NAME
regtree - Text-mode registry viewer
SYNOPSIS
regtree [--help] [--backend=BACKEND] [--fullpath] [--no-values] [--credentials=CREDENTIALS] [location]
DESCRIPTION
The regtree utility prints out all the contents of a Windows registry file. Subkeys are printed with one level more indentation than their
parents.
OPTIONS
--help
Show list of available options.
--backend BACKEND
Name of backend to load. Possible values are: creg, regf, dir and rpc. The default is dir.
--credentials=CREDENTIALS
Credentials to use, if any. Password should be separated from user name by a percent sign.
--fullpath
Print the full path to each key instead of only its name.
--no-values
Don't print values, just keys.
VERSION
This man page is correct for version 4.0 of the Samba suite.
SEE ALSO
gregedit, regshell, regdiff, regpatch, samba
AUTHOR
This utility is part of the Samba[1] suite, which is developed by the global Samba Team[2].
This manpage and regtree were written by Jelmer Vernooij.
NOTES
1. Samba
http://www.samba.org/
2. Samba Team
http://www.samba.org/samba/team/
Samba 4.0 06/17/2014 REGTREE(1)