Hot answers tagged

4

Other than accessing it from the physical console, there's really not much else you can do about it... If you do have another machine you control that is connected to the same network segment (i.e. to the same switch), you could try to configure a new interface alias on that second machine, set a different IP in the same network as the one the Solaris box ...


2

The function arguments printed by pstack are "best guess" efforts as pstack() is not a full debugger, and in some cases even a full debugger can not guarantee exact reproduction of a function's arguments without full debug data. Solaris pstack command is built upon the libproc.so library, which provides process control and information functions. See the ...


2

The upgrade you're attempting isn't possible, as discussed in https://docs.oracle.com/cd/E37838_01/html/E60977/gmpdi.html


2

The Solaris tar command features the X switch to exclude files/directories. Please see the man page man tar for usage. From the man page: X Exclude. Use the exclude-file argument as a file containing a list of relative path names for files (or directories) to be excluded from the tarfile when using the functions c, x, or t. Be careful of trailing ...


2

"adduser" is typically a Linux thing, but if you look at the other Shadow utils -- passwd, useradd, usermod -- they should be similar enough. Shadow (what's in Linux ...) was based on SVR1, which is what I had access to when I started writing it in 1987. "useradd" needs the "-m" option to handle the home directory, so don't supply that. And "passwd -l" locks ...


1

As replacement for stat you can use the following perl oneliner: perl -e 'print((stat("/tmp/a"))[10])' To workaround the current date you can use the touch command to create a temporary file and read the modification timestamp from the temp file like: touch /tmp/currtime CURRTIME=$(perl -e 'print((stat("/tmp/currtime"))[10])') FILETIME=$(perl -e 'print((...


Only top voted, non community-wiki answers of a minimum length are eligible