Hi all
usermod -G Group_id login
it is replacing the existiong Secoundry groups and is adding the only group speced in usermod command
how can we retain the existing secoundry groups and add a user to a new group (6 Replies)
When users login, they are directed to menu (aix script). The menu enables the user to choose an environment to work in. Each environment has a different group id. When a user chooses a menu option, I want to change his primary group to that specific environment's group id. Is this at all possible... (3 Replies)
Dear Folks :-)
I want to rsync some files between some servers and preserve files owner and group (not UID or GID), in some machines UID and GID are differents, for example:
a) In the rsync server:
# stat vbseo.php
File: `vbseo.php'
Size: 26758 Blocks: 56 IO... (1 Reply)
Hi,
i have a problem with a shell script. I need to change the owner and group of a file on a remote machine.
I tried to use ssh but have some problems.
The code:
group=`ssh -t -t $1 -p 3344 "stat -c %G $cpath/FILE"`
echo " $2:$group "
echo $1
echo $cpath
ssh $1 -p 3344 "chown... (5 Replies)
I´m listing the contents of a directory using the command
ls -lI get numeric uid and gid for some lines.
example:
drwxr-xr-x root root 1970-01-01 01:00 sys
-rw-r--r-- 501 20 0 2010-08-04 14:54 shutdown.bravo.rc
drwxr-x--- 501 20 ... (5 Replies)
Hey folks,
When a user is added to a new group, the user has to be log out and log in again to make the new group effective. Is there any system command or technique to refresh user group ID update without re-login?
I am not talking about to use "login" or "su -l" commands which can only make... (2 Replies)
Hi Everyone,
We are encountering the following issue on AIX 5.3. When we do ls -ltr the list displays only user id and group id instead of user name and group name.
This is happening for all users except root. Whe we do ls -ltr with root user it shows perfectly fine.
When we searched... (25 Replies)
I want to add a condition is my find command to include files/sub-directory whose owner or group is all numeric number.
My current find command is
find . \( -user root -o -user soham\) -type f -exec ls -l {} \; 2>&1
---------- Post updated at 10:20 AM ---------- Previous update was at... (5 Replies)
Discussion started by: Soham
5 Replies
LEARN ABOUT OPENSOLARIS
mkcd
mkcd(1M) System Administration Commands mkcd(1M)NAME
mkcd - create bootable Solaris ISO image
SYNOPSIS
/usr/bin/mkcd -v [-l label] media-root iso
DESCRIPTION
The mkcd utility takes media-root (the root of an on-disk Solaris install media) as input and creates a bootable Solaris ISO image in the
file iso, using mkisofs(8). The file can then be burned onto a CD/DVD with utilities such as cdrw(1) or cdrecord(1). (Neither mkisofs(8)
nor cdrecord(1) are SunOS man pages.)
Caution -
The directory tree media-root must contain the file boot/grub/stage2_eltorito, which will be written to the media boot sectors. This file
will be modified with some boot information, thus it must be writable. If necessary, first save a copy prior to running this utility.
OPTIONS
The following options are supported:
-l label
Sets label as the label/volume name of the ISO image.
-v
Verbose. Multiple -v options increase verbosity.
OPERANDS
The following operands are supported:
media-root
Top-level directory of an on-disk Solaris install media.
iso
Name of the output file which will contain the resulting ISO image.
EXAMPLES
Example 1 Creating an ISO Image and Burning a CD/DVD
The following commands create an ISO image from the content of s10u1 and burn the image to a CD/DVD.
# /usr/bin/mkcd s10u1 s10u1.iso
# /usr/bin/cdrw -i s10u1.iso
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
SEE ALSO cdrw(1), attributes(5)mkisofs(8), (/usr/share/man/man8/mkisofs.8), in the SUNWfsman package (not a SunOS man page)
SunOS 5.11 25 Jul 2008 mkcd(1M)