Hi,
I want to access another users files and directories.Is there any command to do in unix ??.I think CHOWN would work.May i know the exact command for it.
Regards, (1 Reply)
Hi the following c-code utilizing the 'read()' man 2 read method cant read in files larger that 2gig.
Hi I've found a strange problem on ubuntu64bit, that limits the data you are allowed to allocate on a 64bit platform using the c function 'read()'
The following program wont allow to allocate... (14 Replies)
Hi
i am looking a way to look at a log file(log.txt) from the last time I've read it.
However after some days the main log file(log.txt) is rename to (log.txt.1).
So now i will have two log files as below.
log.txt.1
log.txt
Now, i have to read the log from the point where i have left... (3 Replies)
I have a script which do validation check and perform code migration from one env. to another, this is built for users/developers.
How can I prevent this shell script from copy or read from users, as they can modify it and run it as per their requirement where as this has to be standard script and... (1 Reply)
Hi All,
I want to configure samba share permission so that only directory creator/owner has a read and write permission and other users should not have any read/write access to that folder.Will that be possible and how can this be achieved within samba configuration.
Regards,
Sahil (1 Reply)
HI,
I am trying to implement a simple shell script program that does not make use of ls or find commands as they are quite expensive on very large sets of files. So, I am trying to generate the file list myself. What I am trying to do is this:
1. Generate a file name using shell script, for... (2 Replies)
Hi all. I need a shell script that can, in short, read through a text file line by line and create a new user in Ubuntu, as well as assign that user to a group. The format of the text file is not important but preferably: 'username:group'. I don't have much programming knowledge no matter shell... (3 Replies)
Discussion started by: LewisWeekly
3 Replies
LEARN ABOUT POSIX
systemd-sysusers
SYSTEMD-SYSUSERS(8) systemd-sysusers SYSTEMD-SYSUSERS(8)NAME
systemd-sysusers, systemd-sysusers.service - Allocate system users and groups
SYNOPSIS
systemd-sysusers [OPTIONS...] [CONFIGFILE...]
systemd-sysusers.service
DESCRIPTION
systemd-sysusers creates system users and groups, based on the file format and location specified in sysusers.d(5).
If invoked with no arguments, it applies all directives from all files found. If one or more filenames are passed on the command line, only
the directives in these files are applied. If only the basename of a file is specified, all directories as specified in sysusers.d(5) are
searched for a matching file. If the string "-" is specified instead of a filename, entries from the standard input of the process are
read.
OPTIONS
The following options are understood:
--root=root
Takes a directory path as an argument. All paths will be prefixed with the given alternate root path, including config search paths.
-h, --help
Print a short help text and exit.
--version
Print a short version string and exit.
EXIT STATUS
On success, 0 is returned, a non-zero failure code otherwise.
SEE ALSO systemd(1), sysusers.d(5)systemd 237SYSTEMD-SYSUSERS(8)