04-29-2013
9 More Discussions You Might Find Interesting
1. Linux
We have a linux system at all locations that is not really used interactively. Well the users need to shutdown the box on weekends. to do this they usally call us to shut it down remotely with root. well i just came accross sudo. and i am unsure how to use it
i did
visudo
then i did
%mliu ... (2 Replies)
Discussion started by: deaconf19
2 Replies
2. Linux
Hi everyone,
I wonder if anyone ever came across the idea of unifying AD and Linux user accounts
We have a Linux machine with 'samba' 'winbind' service configured to let Windows AD users to logon locally using their AD accounts and passwords.
I can use 'su' to get to the local user privilege... (0 Replies)
Discussion started by: will_mike
0 Replies
3. UNIX for Dummies Questions & Answers
Hi! I'm very new to unix, so please keep that in mind with the level of language used if you choose to help :D Thanks!
When attempting to use sudo on and AIX machine with oslevel 5.1.0.0, I get the following error:
exec(): 0509-036 Cannot load program sudo because of the following errors:... (1 Reply)
Discussion started by: Chloe123
1 Replies
4. UNIX for Advanced & Expert Users
Hello! Can anyone please assist:
Question:
On Linux Server I have created two users John and Matt. I want to give both the users the ability to run 'more' and 'tail -f' commands on the log file in the directory /var/log/test.log. I do not want to give them SU rights.
Can any one please... (6 Replies)
Discussion started by: sureshcisco
6 Replies
5. AIX
Sudo In AIX, how to find out what commands have been run after a user sudo to another user? for example, user sam run 'sudo -u robert ksh' then run some commands, how can I (as root) find what commands have been run?
sudo.log only contains sudo event, no activity logging. (3 Replies)
Discussion started by: jalite19
3 Replies
6. Linux
Hi,
I am new in linux. Please help for create new user and also need to give sudo access in linux box. Please help me
Now i am having new access
Thanks,
Mani (2 Replies)
Discussion started by: Mani_apr08
2 Replies
7. Shell Programming and Scripting
I am writing a BASH script to update a webserver and then restart Apache. It looks basically like this:
#!/bin/bash
rsync /path/on/local/machine/ foo.com:path/on/remote/machine/
ssh foo.com sudo /etc/init.d/apache2 reloadrsync and ssh don't prompt for a password, because I have DSA encryption... (9 Replies)
Discussion started by: fluoborate
9 Replies
8. UNIX for Dummies Questions & Answers
Hi
I have an Oracle DBA that is trying to install an RPM from Stratavia which is a web based portal and it executes the following:
Instance Wrapper=sudo -u oracle /opt/datapalette/jython/jython
Server Wrapper=sudo -u root /opt/datapalette/jython/jython
I've compared the /etc/sudoers... (8 Replies)
Discussion started by: jeff-fafa
8 Replies
9. Shell Programming and Scripting
Hi, Have a need to run the below command as a "karuser" from a java class which will is running as "root" user. When we are trying to run the below command from java code getting the below error.
Command:
sudo -u karuser -s /bin/bash /bank/karunix/bin/build_cycles.sh
Error:
sudo: sorry,... (8 Replies)
Discussion started by: Satyak
8 Replies
LEARN ABOUT MINIX
xfs_admin
xfs_admin(8) System Manager's Manual xfs_admin(8)
NAME
xfs_admin - change parameters of an XFS filesystem
SYNOPSIS
xfs_admin [ -eflpu ] [ -c 0|1 ] [ -L label ] [ -U uuid ] device
DESCRIPTION
xfs_admin uses the xfs_db(8) command to modify various parameters of a filesystem.
Devices that are mounted cannot be modified. Administrators must unmount filesystems before xfs_admin or xfs_db(8) can convert parameters.
A number of parameters of a mounted filesystem can be examined and modified using the xfs_growfs(8) command.
OPTIONS
-e Enables unwritten extent support on a filesystem that does not already have this enabled (for legacy filesystems, it can't be dis-
abled anymore at mkfs time).
-f Specifies that the filesystem image to be processed is stored in a regular file at device (see the mkfs.xfs -d file option).
-j Enables version 2 log format (journal format supporting larger log buffers).
-l Print the current filesystem label.
-p Enable 32bit project identifier support (PROJID32BIT feature).
-u Print the current filesystem UUID (Universally Unique IDentifier).
-c 0|1 Enable (1) or disable (0) lazy-counters in the filesystem. This operation may take quite a bit of time on large filesystems as the
entire filesystem needs to be scanned when this option is changed.
With lazy-counters enabled, the superblock is not modified or logged on every change of the free-space and inode counters. Instead,
enough information is kept in other parts of the filesystem to be able to maintain the counter values without needing to keep them
in the superblock. This gives significant improvements in performance on some configurations and metadata intensive workloads.
-L label
Set the filesystem label to label. XFS filesystem labels can be at most 12 characters long; if label is longer than 12 characters,
xfs_admin will truncate it and print a warning message. The filesystem label can be cleared using the special "--" value for label.
-U uuid
Set the UUID of the filesystem to uuid. A sample UUID looks like this: "c1b9d5a2-f162-11cf-9ece-0020afc76f16". The uuid may also
be nil, which will set the filesystem UUID to the null UUID. The uuid may also be generate, which will generate a new UUID for the
filesystem.
The mount(8) manual entry describes how to mount a filesystem using its label or UUID, rather than its block special device name.
SEE ALSO
mkfs.xfs(8), mount(8), xfs_db(8), xfs_growfs(8), xfs_repair(8), xfs(5).
xfs_admin(8)