Sponsored Content
Operating Systems AIX finding original login name, not current name Post 302169166 by vbe on Wednesday 20th of February 2008 01:13:42 PM
Old 02-20-2008
Well!

Thanks for sharing with us your fix, now we are aware of this possible issue with openssh...( nerver thought of that...)
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Finding current working dir path

Hi Folks, In a Unix (ksh) script, is there a way to determine the current working directory path of another logged-in user? Of course, I can use "pwd" to find my own path. But, how do I find it for another active user? Thanks for any input you can provide. LY (6 Replies)
Discussion started by: liteyear18
6 Replies

2. UNIX for Dummies Questions & Answers

Finding out the current AIX Maintenance Level

Is there a simple command in the vein of `oslevel` under AIX 4.3 to show the current patch level of the machine? (2 Replies)
Discussion started by: sam_pointer
2 Replies

3. Programming

Finding largest file in current directory?

I was hoping to get some assistance with this C program I am working on. The goal is to find the largest file in the current directory and then display this filename along with the filesize. What I have so far will display all the files in the current directory. But, how do I deal with "grabbing"... (1 Reply)
Discussion started by: AusTex
1 Replies

4. Shell Programming and Scripting

Finding your current run lvl

The title says it all really. I am writing a shell script for a Linux box, and I have recently run into a problem. I need to make sure I am at a certain run level first. Hence, the question. How can I find out what run level the box is currently running at? Is there a system variable... (2 Replies)
Discussion started by: Scripting Newb
2 Replies

5. Shell Programming and Scripting

finding 0 byte files in current directory only

Hi Gurus, I have a directory A, which has some 0 byte files in it. This directory also has a subdirectory B which also has some 0 byte files in it. The problem: I only need to find out the names of the 0 byte files in the directory A. I'm using the following command find . -name *.zip... (6 Replies)
Discussion started by: ramky79
6 Replies

6. Shell Programming and Scripting

Finding files older than the current date and time and renaming and moving

Hi, I have a very urgent requirement here. I have to find all files in the specified directory but not in the sub directories(The directory name is stored in a variable) which are older than the current date as well as current time and rename it as filename_yyyymmddhhmmss.ext and move it into a... (7 Replies)
Discussion started by: ragavhere
7 Replies

7. Shell Programming and Scripting

Finding files in current directory when 100,000's files in current directory

Hi All I was wondering what is the most efficient way to find files in the current directory(that may contain 100,000's files), that meets a certain specified file type and of a certain age. I have experimented with the find command in unix but it also searches all sub directories. I have... (2 Replies)
Discussion started by: kewong007
2 Replies

8. Shell Programming and Scripting

Finding 4 current files having specific File Name pattern

Hi All, I am trying to find 4 latest files inside one folder having following File Name pattern and store them into 4 different variables and then use for processing in my shell script. File name is fixed length. 1) Each file starts with = ABCJmdmfbsjop letters + 7 Digit Number... (6 Replies)
Discussion started by: lancesunny
6 Replies

9. Solaris

Finding system uptime without login

Hi, Am writing a script where I want to find uptime of certain servers. Is there any command where we can find uptime without login to the server, since the server list is big logging to the server will time consuming. Thanks in advance (7 Replies)
Discussion started by: rogerben
7 Replies

10. UNIX for Advanced & Expert Users

Can adding to a new group be effective in current login environment without re-login?

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)
Discussion started by: hce
2 Replies
sharing(8)						    BSD System Manager's Manual 						sharing(8)

NAME
sharing -- create share points for afp and smb services. SYNOPSIS
sharing [-a <path> [options]] [-e <share point name> [options]] [-r <share point name>] [-l] DESCRIPTION
A list of flags and their descriptions: -a <path> Add a new share point for the directory specified by <path>. -e <share point name> Edit the share point record specified by <share point name>. -r <share point name> Delete the share point record specified by <share point name>. -l List all existing share point records. The following options modify share point record attributes: -A <afp name> Use customized name <afp name> when using share point with afp. -S <smb name> Use customized name <smb name> when using share points with smb. -s <flags> Use this option to enable and disable sharing via afp and smb. By default a share point is enabled for afp and smb protocols. To enable and disable particular services, combine (binary AND) the following flags as required: 100 (enable sharing for afp) and 001 (enable sharing for smb). Specify 000 to turn off sharing of a share point altogether. -g <guest flag> Use this option to enable and disable guest access for afp and smb. By default guest access is enabled for afp and smb. To enable and disable guest access to particular services, combine (binary AND) the following flags as required: 100 (enable guest for afp) and 001 (enable guest for smb). Specify 000 to turn off guest access for a share point altogether. -i <inherit privileges flag> Use this option to enable and disable the "inherit privileges" attribute for afp. By default "inherit privileges" is enabled for afp. To enable "inherit privileges", combine (binary AND) the following flags as required: 10 ("inherit privileges" for afp). Specify 00 to turn off "inherit privileges" for a share point altogether. -n <customized record name> Specify a <customized record name> to be used as the share point record name. By default the record name is the name of the direc- tory pointed to by the share point record. This directory is specified by the <path> when the record is created. EXAMPLES
/usr/sbin/sharing -a /SomePath/ShareThisDirectory This example shows how to create a share point for the directory "/SomePath/ShareThisDirectory": /usr/sbin/sharing -e ShareThisDirectory -A SP1 -g 101 This example shows how to edit the share point record created above, adding a customized name "SP1" for afp servies, and enabling guest access only for afp and smb. FILES
/usr/sbin/sharing location of tool macOS June 1, 2019 macOS
All times are GMT -4. The time now is 04:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy