05-30-2012
I have admin access and I like to use bash, but the default shell for all users is sh.
I am using Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear all,
I am using solaris 6 O.S. and root previlege.I want to know how to get history of commands given by diff. users logged into the server.
I know that history command gives the list of previous commands for that particular log in session. In the simillar manner can I get simillar history... (3 Replies)
Discussion started by: vikasdeshmukh
3 Replies
2. Shell Programming and Scripting
Hi,
I'm looking for a way to get the date of creation for a file. Is it possible ? I know that these informations are in the i-node but I don't know how to access them (if the 'find' command can do it with option -ctime, I have reasons to believe in it).
Thanks for helping me ! (1 Reply)
Discussion started by: mullmafr
1 Replies
3. Solaris
hi all,
in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders...
please help me, how can i find the total size of these specific files in the server... (3 Replies)
Discussion started by: abhinov
3 Replies
4. UNIX for Dummies Questions & Answers
How do I make the history command, in addition to the past commands, display the hard path to the place where i modified or did my past action?
thanks in advance (2 Replies)
Discussion started by: cleansing_flame
2 Replies
5. Programming
hi,
i would like to know how to programatically obtain informations about existing NICs (both configured and non-configured if possible) on *NIX?
i need to write simple *NIX C/C++ program that will have these informations. i have tried to search forums (and also google) with no luck. any help... (2 Replies)
Discussion started by: nikoladsp
2 Replies
6. Shell Programming and Scripting
Hello,
I'm running a bash script and I'd like to get more accurate a runtime information then now.
So far I've been using this method:
STARTM=`date -u "+%s"`
.........
*script function....
.........
STOPM=`date -u "+%s"`
RUNTIMEM=`expr $STOPM - $STARTM`
if (($RUNTIMEM>59)); then... (3 Replies)
Discussion started by: TehOne
3 Replies
7. UNIX for Dummies Questions & Answers
How do you look at the whole list of previous commands you have used in VI? I know you can use the up and down arrows, but I know there's a way to see the full list. (5 Replies)
Discussion started by: cokedude
5 Replies
8. UNIX for Dummies Questions & Answers
Can anyone tell this:
If two users are logged into the same server from different locations. Is there a way to see the history command of the other user? I tried the history command, but it is showing me only the commands I used.
Thanks in advance for your help.
Iamnew2solaris (1 Reply)
Discussion started by: iamnew2solaris
1 Replies
9. Shell Programming and Scripting
Hi
I am trying to increase the number of commands recorded in my .bash_history file.
I followed what is indicated and have add to my .bashrc
export HISTCONTROL=ignoreboth
export HISTSIZE=1000000
export HISTFILESIZE=1000000
export HISTIGNORE='ls'but the .bash_history only contains 690... (5 Replies)
Discussion started by: louisJ
5 Replies
10. Shell Programming and Scripting
I'm probably sure I need to use either awk or sed judging by research but I'm not sure what exact command I have to do to do following...:wall:
So this is my text file
CPU 1 2 3 4 5 6
RAM 2 3 4 5 6 7
HAR 3 4 5 6 7 8
--------------
my input:
Cur_CPU=10
Cur_RAM=11
Cur_HAR=13
Desired... (5 Replies)
Discussion started by: simonirang
5 Replies
LEARN ABOUT OPENSOLARIS
users-admin
users-admin(1) User Commands users-admin(1)
NAME
users-admin - Configure local users and groups on the system.
SYNOPSIS
users-admin [gnome-std-options]
DESCRIPTION
users-admin enables the user to configure the local users and groups on the system. I also provides the ability to assign RBAC profiles to
a user.
OPTIONS
The following options are supported:
gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more informa-
tion.
EXAMPLES
Example 1: Running the main application.
example% users-admin
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/users-admin Executable for users and groups configuration.
/var/spool/setup-tool-backends/data/users
Where user template configurations are stored.
/var/spool/setup-tool-backends/backup/users
Backup directory for files that are modified.
/var/run/setup-tool-backends/debug/users
Debug logs can be found under here.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-system-tools |
+-----------------------------+-----------------------------+
|Interface stability |Uncommitted |
+-----------------------------+-----------------------------+
SEE ALSO
Latest version of the GNOME Desktop User Guide for your platform.
time-admin(1), shares-admin(1), services-admin(1), network-admin(1), gnome-std-options(5), useradd(1M), usermod(1M), groupadd(1M), group-
mod(1M), passwd(4), shadow(4), group(4), attributes(5)
NOTES
YP/NIS, NIS+ and LDAP users should be aware that it's possible to have conflict with users configured in here with the result that an error
will occur.
You should ensure that local user's home accounts are located on local filesystems - e.g. creating a new entry in /home when it's mounted
with automount will not work and as such the user may not be created.
Written by Darren Kenny, Sun Microsystems Inc., 2006.
SunOS 5.11 6 Nov 2006 users-admin(1)