12-14-2011
It seems that the user needs some extra privileges to get the expected result. Does your system uses Solaris 10 RBAC? What is the primary group of the new user?
Last edited by admin_xor; 12-14-2011 at 01:40 PM..
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am a new UNIX user. I am trying to connect a Windows XP laptop to a SOLARIS server. I have added the XPs hostname and IP address to the /ETC/hosts file. I am connecting through a hub. I am not able to telnet or ping in either direction. If I ping the server IP address on the server, I receive a... (8 Replies)
Discussion started by: jkuchar747
8 Replies
2. UNIX for Advanced & Expert Users
Hi
Can someone giv me some knowledge on accesing windows from unix and executing DOS scripts using SSH
I would like to know how to go abt it...am new to it.
Thanks in advance (1 Reply)
Discussion started by: lakshmis10
1 Replies
3. HP-UX
1)MY HP-UX11iv2 machine is on a specific subnet as in rrr.rr.199.( its a rp3410 blade server).It has 2 hard disks one of them has HP-UX11iv2 and the other hard disk is not being used
2)ip of the hp-ux machine is rrr.rr.199.rrr
3)i need to access this hp-ux machine remotely from a windows machine... (3 Replies)
Discussion started by: rookie8278
3 Replies
4. Shell Programming and Scripting
Hi there
I am trying to add up the disk space used on a remote linux box but am falling at the first hurdle i.e isolating the 'space used' column with df -k on the remote box
if i run this, i get the df -k output as expected
# rsh remote-server 'df -k|grep sd|grep -v boot'
/dev/sda3 ... (8 Replies)
Discussion started by: hcclnoodles
8 Replies
5. UNIX for Dummies Questions & Answers
Hi Gurus,
I want to connect to a different user in unix from my terminal. I know the password
of that user and username.when i am using "su username" it asks me for the password and entering the corresponding password ,it takes me to that.but i want to write a shell script in which i will be... (4 Replies)
Discussion started by: sanjay.login
4 Replies
6. HP-UX
Hi
please suggest .. how can i get my original user from which logged in to another server.
my main current login is
$whoami
nitin
ssh nit01@n01
i m going (redirected)to log in below path..
nit01@n01:/home/n01 -> pwd
/home/n01
nit01@n01:/home/n01 ->
on this server i want get... (1 Reply)
Discussion started by: nitindreamz
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I would like to remotely execute soffice with different users on a remote machine.
Basically I am connected to the machineA as user John. I would like to execute several soffice to the remote machineB.
The remote machine B has different users R,S on the same group.
I can launch remotely... (12 Replies)
Discussion started by: Robert2011
12 Replies
8. Shell Programming and Scripting
Hello Experts,
Need some direction on creating shell script for following environment:
We have about 20 people in the team working as Oracle DBA's (sysdba's and appdba's). Total Servers which is a mix of Unix and Linux are 200. We do not have Root user access on any of the servers and... (3 Replies)
Discussion started by: sha2402
3 Replies
9. Solaris
Hello. I am trying to ssh and run a script from a remote computer. These computers will be both Windows and MACs. I am using Solaris 8 and what I have tried is:
using putty
ssh user@ip_address (remote command) /folder/folder/filename.sh
The issue here is that the user profile has not... (3 Replies)
Discussion started by: jkmtm
3 Replies
LEARN ABOUT NETBSD
newgrp
NEWGRP(1) BSD General Commands Manual NEWGRP(1)
NAME
newgrp -- change to a new primary group
SYNOPSIS
newgrp [-l] [group]
DESCRIPTION
The newgrp command changes a user to a new primary group (real and effective group ID) by starting a new shell. The user remains logged in
and the current directory and file creation mask remain unchanged. The user is always given a new shell even if the primary group change
fails.
The newgrp command accepts the following options:
-l The environment is changed to what would be expected if the user actually logged in again. This simulates a full login.
The group is a group name or non-negative numeric group ID from the group database. The real and effective group IDs are set to group or the
group ID associated with the group name.
If group is not specified, newgrp restores the user's real and effective group IDs to the user's primary group specified in the password
database. The user's supplementary group IDs are restored to the set specified for the user in the group database.
If the user is not a member of the specified group, and the group requires a password, the user will be prompted for the group password.
FILES
/etc/group The group database
/etc/master.passwd The user database
/etc/passwd A Version 7 format password file
EXIT STATUS
If a new shell is started the exit status is the exit status of the shell. Otherwise the exit status will be >0.
SEE ALSO
csh(1), groups(1), login(1), sh(1), su(1), umask(2), group(5), passwd(5), environ(7)
STANDARDS
The newgrp command conforms to IEEE Std 1003.1-2001 (``POSIX.1'').
HISTORY
A newgrp command appeared in Version 6 AT&T UNIX. A newgrp command appeared in NetBSD 5.0.
BUGS
There is no convenient way to enter a password into /etc/group. The use of group passwords is strongly discouraged since they are inherently
insecure. It is not possible to stop users from obtaining the encrypted password from the group database.
BSD
June 6, 2007 BSD