10 More Discussions You Might Find Interesting
1. Red Hat
can someone please provide steps, can I restrict a multiple users to only access only sftp on a server, to perform upload and download of files on their home directories.
1. I have updated their login shell as /sbin/nologin.
anything else do I need to update.
Thanks, (3 Replies)
Discussion started by: bobby320
2. Shell Programming and Scripting
how can i make my users to not use particular commands in the network
pl z help me regarding this (1 Reply)
Discussion started by: yashwanthguru
3. Shell Programming and Scripting
hi I need a shell script which runs perpetually in background and monitors different aspects of different users on different files and their usages
for example say there r 3 users
so i want when they log in i.e. their log in time and their file access, modify and change log of each file of a... (3 Replies)
Discussion started by: rrd1986
4. Shell Programming and Scripting
How do force users to log off Unix through shell? (2 Replies)
Discussion started by: Wahmed9
5. UNIX for Advanced & Expert Users
I'm using vsftpd which is being controlled by inetd.
I have a user that I want to only be able to connect from one specific IP address on the same internal network so I can backup files on a separate system.
Is this possible with TCP wrappers? I got the notion that it was because of a few... (4 Replies)
Discussion started by: mashiox
I am looking for solutions to address my need to log to a file whenever a user logs out or session disconnects. (1 Reply)
Discussion started by: mhm4
What is the best way to logoff users from my Unix system? I have done a search and found that you can do a w or who - find who is on, and ps-ef | grep <user> and kill their processes. But what if you have a bunch of users and you need them off the system quickly? Killing individual processes... (1 Reply)
Discussion started by: outtacontrol
I need the name for one command which I cant remember. This command displays all users which can log in to the system, wether they are stored in /etc/passwd, NIS og LDAP. Does anyone remember what command this is? (2 Replies)
Discussion started by: sprellari
9. UNIX for Dummies Questions & Answers
Does anyone know of a nice way to log commands in solaris 8.
What I need is a program or script that saves any command that a user does in solaris command prompt. So when Steven logs in on a system, it should record everything he does, from an ls to exit with timestamps. I've been... (6 Replies)
Discussion started by: dozy
10. UNIX for Advanced & Expert Users
I have a typical scenario here in which several users have access to a particular login .. say "build".
None of the users know the passwd for this login.
The name of some of the user have been to .rhosts file.
The users can connect only by doing a rlogin to this id and then... (4 Replies)
Discussion started by: jyotipg
o2info(1) OCFS2 Manual Pages o2info(1)
o2info - Dump OCFS2 file system information on disk.
o2info [-C|--cluster-coherent] [--fs-features] [--volinfo] [--mkfs] <device or file>
o2info is designed to be an information tool, to display OCFS2 file system information on disk. Its main goal on one hand, is to provide a
tool to display fs info in a comprehensive way and providing the information which may be missing in debugfs.ocfs and tunefs.ocfs2 such as
global bitmap free space fragmentation and free inode info for each slot, on the other hand, it also aims to become a info tool(not an
administration one), which therefore allows all users who may have no read privilege on the underlying device to use the utility. In prac-
tice, 'o2info /path/to/file/on/ocfs2/vol' use a new OCFS2_IOC_INFO ioctl to get info from fs for a mounted case. For a privileged user(e.g,
root), the same info however, can also be accessed by 'o2info /dev/sdxN' to direcly manipulate the raw device.
Enable cluster (in)coherency for mounted case, means it will attempt to acquire a global PR lock when querying info from a cluster
filesystem, which may degrade the performance, default is none cluster-coherency.
List all compat, incompat and ro-compat fs features on OCFS2 filesystem.
Dump basic volume information, such as blocksize, clustersize, volume label and UUID etc.
--mkfs Dump an original format of mkfs.ocfs's arguments, importantly, which can be used directly as a fresh mkfs retry: #mkfs.ocfs2
"$(o2info --mkfs /dev/name/or/path/of/file)" /dev/sdaX
Show version and exit.
Display help and exit.
[oracle@node1 ~]# o2info --volinfo /storage/testfile # For none-privileged users.
[root@node1 ~]# o2info --volinfo /dev/sda1
Block Size: 4096
Cluster Size: 4096
Node Slots: 4
Features: backup-super strict-journal-super sparse inline-data xattr
Copyright (C) 2010 Oracle. All rights reserved.
Version 1.6.4 October 2010 o2info(1)