09-28-2009
Quote:
Originally Posted by
solaris_user
go to safe mode and choose safe boot with command prompt
safe mode still requires a password. Sometimes theres a safemode-only admin account, more often, not.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hey everyone!
i have a Solaris 8 box with me, and i had been using my usb thrumbdrive on it all the time. one day, i was in a rush and i pulled out the thumbdrive without ejecting it or anything. and now i can't detect any thumbdrives at all. i had tried using another thumbdrive, but with no... (2 Replies)
Discussion started by: feef
2 Replies
2. UNIX for Dummies Questions & Answers
the root shell has been changed in the file /etc/passwd, basically pointing to an incorrect directory. So now every time we login as 'su' I get the message
'su: no shell' so we can't login as superuser.
Is there an easy way to rectify this? please use step by step instructions/commands -
I... (4 Replies)
Discussion started by: homechoice
4 Replies
3. UNIX for Dummies Questions & Answers
Hello,
first of all, I want to make myself clear about my language. I'm brazilian, so I ask you all to understand if i commit any mistake with the grammar.
Here is the problem.
Some days ago I needed to use a "sh" command in the Terminal (I use a Mac OSX 10.5.6) followed by a file... (0 Replies)
Discussion started by: anubisbr
0 Replies
4. UNIX for Dummies Questions & Answers
I've screwed something up in my sshd_config apparently, because I can't ssh with root anymore.
I had disabled root login for security reasons, but then my ssh credentials with full administrative privelges stopped working. So then I reenabled root login (and reset ssh), but root now isn't... (3 Replies)
Discussion started by: cquarry
3 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I have a big problem and no idea how to solve it.
I was looking up commands in /bin with 'man' as I found 'sh'.
In mistake I started the command.
Now after that I can not input the character 's' in shell anymore!
Even after restarting system the problem is still there.
Mysterious... (7 Replies)
Discussion started by: daWonderer
7 Replies
6. Solaris
Hi Folks,
My telnet access to the server is not available anymore. I have found that when I execute >telnet IP, the login prompt for username/password entry is not displayed. Cursor blinks in a empty line and I dont see the prompt to enter my username.
It hungs in this state and not possible... (1 Reply)
Discussion started by: ekorgur
1 Replies
7. Slackware
We used to use Slackware, but then moved all our servers to Ubuntu Linux.
Does anyone use Slackware anymore? (8 Replies)
Discussion started by: Neo
8 Replies
8. What is on Your Mind?
Nice eye catching title huh ;)
I got laid off along with 55000 others from HP worldwide have been expecting this for some time and now it's finally my turn. Most of the folks I know get laid off at around this age of 40+ so do take note.
Ideas that ran thru my head this last few weeks:... (16 Replies)
Discussion started by: sparcguy
16 Replies
9. Fedora
My current Fedora version is 27. Desktop environment is LXDE. I am trying to view files sitting on my smartphone (Sony Xperia XA ultra) but it doesn't work anymore. This used to work before. I cannot view image and mp3 files but text files and pdf files work fine. When I move the files to the local... (3 Replies)
Discussion started by: milhan
3 Replies
Safe Tk(n) Tk Built-In Commands Safe Tk(n)
__________________________________________________________________________________________________________________________________________________
NAME
loadTk - Load Tk into a safe interpreter.
SYNOPSIS
::safe::loadTk slave ?-use windowId? ?-display displayName?
_________________________________________________________________
DESCRIPTION
Safe Tk is based on Safe Tcl, which provides a mechanism that allows restricted and mediated access to auto-loading and packages for safe
interpreters. Safe Tk adds the ability to configure the interpreter for safe Tk operations and load Tk into safe interpreters.
The ::safe::loadTk command initializes the required data structures in the named safe interpreter and then loads Tk into it. The inter-
preter must have been created with ::safe::interpCreate or have been initialized with ::safe::interpInit. The command returns the name of
the safe interpreter. If -use is specified, the window identified by the specified system dependent identifier windowId is used to contain
the "." window of the safe interpreter; it can be any valid id, eventually referencing a window belonging to another application. As a
convenience, if the window you plan to use is a Tk Window of the application you can use the window name (e.g. .x.y) instead of its window
Id ([winfo id .x.y]). When -use is not specified, a new toplevel window is created for the "." window of the safe interpreter. On X11 if
you want the embedded window to use another display than the default one, specify it with -display. See the SECURITY ISSUES section below
for implementation details.
SECURITY ISSUES
Please read the safe manual page for Tcl to learn about the basic security considerations for Safe Tcl.
::safe::loadTk adds the value of tk_library taken from the master interpreter to the virtual access path of the safe interpreter so that
auto-loading will work in the safe interpreter.
Tk initialization is now safe with respect to not trusting the slave's state for startup. ::safe::loadTk registers the slave's name so when
the Tk initialization (Tk_SafeInit) is called and in turn calls the master's ::safe::InitTk it will return the desired argv equivalent
(-use windowId, correct -display, etc.)
When -use is not used, the new toplevel created is specially decorated so the user is always aware that the user interface presented comes
from a potentially unsafe code and can easily delete the corresponding interpreter.
On X11, conflicting -use and -display are likely to generate a fatal X error.
SEE ALSO
safe(n), interp(n), library(n), load(n), package(n), source(n), unknown(n)
KEYWORDS
alias, auto-loading, auto_mkindex, load, master interpreter, safe interpreter, slave interpreter, source
Tk 8.0 Safe Tk(n)