Hi all,
I am trying to eject the cdrom from a livecd after certain stage...
Now assuming that it is possible to eject,please consider my issue!!!
The OS boots into a regular user by default...so i am unable to use the eject command to push out the drive...
However if i try pfexec eject it... (3 Replies)
Hi guys, i need help :
The system admin wants to configure user_attr(4)sources in the /etc/nsswitch.conf
Which line needs to be configured?
a: passwd
b: user_attr
The answer is A but wait !!
I did a man nsswitch.conf and user_attr is a valid database ( at least for soalris 10) ,... (0 Replies)
Hi, I was wondering how to change the prompt for my ssh login. At the moment it is like
user>
while I'd like it to be as
user@host>
It is in the .bash_profile or .ssh ??? Thanks (2 Replies)
Hello All,
Below I'm posting a question regarding a possible Solaris 10 310-202 exam question that I think is wrong. I do not agree that the answer is B. The inetadm command does not even have a flag/option of -a. Can anyone provide any assistance?
Thanks!
You've tried connecting to... (2 Replies)
If I create a new user id test:
mkuser id=400 test
then I want it to LDAP user:
chuser -R LDAP SYSTEM=LDAP registry=LDAP test
It shows:
3004-687 User "test" does not exist.
How to do? (4 Replies)
Discussion started by: rainbow_bean
4 Replies
LEARN ABOUT ULTRIX
chown
chown(8) System Manager's Manual chown(8)Name
chown - change owner and, optionally, group
Syntax
/etc/chown [ -fR ] owner[.group] file...
Description
The command changes the owner and, optionally, group for one or more files and directories. The value for file can be a full or partial
path. The value for owner can be either a decimal UID or a login name found in the password file. The value for group can be either a
decimal GID or a group name found in the group file.
Only the superuser can change the ownership of a file. The superuser can also change the group of a file. The owner of a file can only
change the group, but the owner must be a member of any group specified.
Options-f Inhibits display of errors that are returned when cannot change the owner or group of the specified files.
-R Causes to recursively descend any directories subordinate to file and to set the owner, group, or both for each file encountered.
When symbolic links are encountered, changes the owner and group for the link file itself but does not traverse the path associated
with the link. The option is useful only when file is a directory that is not empty.
Examples
Change the owner of to ecbell:
/etc/chown ecbell myfile
Change the owner of to craig and group of to admin:
/etc/chown craig.admin myfile
Change the owner to richart and group to eng for the directories and and for all files and directories on any levels subordinate to and
/etc/chown -R richart.eng projecta projectb
Files
See Also
chgrp(1), chown(2), group(5), group(5yp), passwd(5), passwd(5yp)chown(8)