I am trying to write a perl script that will do remote machine.
I have done user loging using simple command;
$telnet->login('test', 'test123');
But now I want to do root login or superuser login. So I tried the superuser command,
$telnet->cmd("su");
But I am not able to send the... (0 Replies)
Hi All,
1. modify /etc/default/login file as
make commented # console=
2.put my laptops ip at both
/etc/inet/ipnodes and /etc/host file
still i can login via telnet/ftp through a DB9-serial cable, but when i tried
through a lan stratight cable directly connected that machine... (7 Replies)
I have inherited a solaris 10 server. I went to log into it the other day over the console connection, and after sucessfully entering the password, I was booted back to the login prompt with no errors visible.
If I enter an incorect password, the console displays 'incorrect password' and kicks... (8 Replies)
which should i prefer to install in my system openssh or ssh package provided by SUN by default. can i have two packages installed at the same time? (2 Replies)
I have encounter this solaris problem and it happens intermittent. When it happens, the system is freezing and unable to telnet/ssh in but the system ip is still able to ping. after that it will back to the normal and everything seems like be normal again. it is sun cluster setup.
scsi: ... (5 Replies)
Solaris machine is at # prompt not able to login in GUI mode :
I want to login solaris server in GUI mode from # prompt.
---------- Post updated 12-30-11 at 11:36 AM ---------- Previous update was 12-29-11 at 02:23 PM ----------
Hi,
Please send me some guidelines regarding this....
as... (2 Replies)
Got a strange problem.
I have 4 Solaris servers all configured the same, Solaris 10 x86 update 10.
When I try to ssh from one Solaris 10 server to another server ssh hangs.
I have an identical server and when I try this everything works fine.
The weird thing is if I am root on the server... (1 Reply)
hi Everyone
telnet and ssh not working in Solaris 8 .... but it pinging.... i also checked
/etc/services
/etc/inet/inetd.conf
ps -ef | grep telnet
ans default router ... everythinking is ok .... when i connect telnet then suddently closed ... and ssh is connection refused ...
help... (1 Reply)
I have installed solaris 10 over VM ware in windows machine. now i want to share the files from windows to solaris. how can i do so.. and pls tell if through putty i can access the solaris from windows machine without logging onto VMware. (4 Replies)
Hi All,
.
I am trying to find whether Solaris 11 installed on physical server or on VMware/KVM.
I tried uname -a but it's giving only whether i installed on X86 or sparc machine.
I tried prtdiag command but it's giving below information.
command : prtdiag -v |grep "System... (2 Replies)
Discussion started by: sravani25
2 Replies
LEARN ABOUT X11R4
pkgproto
pkgproto(1) User Commands pkgproto(1)NAME
pkgproto - generate prototype file entries for input to pkgmk command
SYNOPSIS
pkgproto [-i] [-c class] [path1]
pkgproto [-i] [-c class] [path1=path2...]
DESCRIPTION
pkgproto scans the indicated paths and generates prototype(4) file entries that may be used as input to the pkgmk(1) command.
If no paths are specified on the command line, standard input is assumed to be a list of paths. If the pathname listed on the command line
is a directory, the contents of the directory is searched. However, if input is read from stdin, a directory specified as a pathname will
not be searched.
OPTIONS -i Ignores symbolic links and records the paths as ftype=f (a file) versus ftype=s (symbolic link).
-c class Maps the class of all paths to class.
OPERANDS
path1 Pathname where objects are located.
path2 Pathname which should be substituted on output for path1.
EXAMPLES
Example 1: Examples of the use of pkgproto.1.
The following two examples show uses of pkgproto and a partial listing of the output produced.
Example 1:
example% pkgproto /bin=bin /usr/bin=usrbin /etc=etc
f none bin/sed=/bin/sed 0775 bin bin
f none bin/sh=/bin/sh 0755 bin daemon
f none bin/sort=/bin/sort 0755 bin bin
f none usrbin/sdb=/usr/bin/sdb 0775 bin bin
f none usrbin/shl=/usr/bin/shl 4755 bin bin
d none etc/master.d 0755 root daemon
f none etc/master.d/kernel=/etc/master.d/kernel 0644 root daemon
f none etc/rc=/etc/rc 0744 root daemon
Example 2:
example% find / -type d -print | pkgproto
d none / 755 root root
d none /bin 755 bin bin
d none /usr 755 root root
d none /usr/bin 775 bin bin
d none /etc 755 root root
d none /tmp 777 root root
EXIT STATUS
0 Successful completion.
>0 An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO pkgmk(1), pkgparam(1), pkgtrans(1), prototype(4), attributes(5)
Application Packaging Developer's Guide
NOTES
By default, pkgproto creates symbolic link entries for any symbolic link encountered (ftype=s). When you use the -i option, pkgproto cre-
ates a file entry for symbolic links (ftype=f). The prototype(4) file would have to be edited to assign such file types as v (volatile), e
(editable), or x (exclusive directory). pkgproto detects linked files. If multiple files are linked together, the first path encountered is
considered the source of the link.
By default, pkgproto prints prototype entries on the standard output. However, the output should be saved in a file (named Prototype or
prototype, for convenience) to be used as input to the pkgmk(1) command.
SunOS 5.10 6 Nov 2000 pkgproto(1)