Tag Info

Hot answers tagged

4

The .gvfs directory is the Gnome VFS userspace filesystem that provides a direct filesystem path for virtual filesystems (e.g. remote samba mounts, webdav mounts) so Gnome can pass paths to programs that aren't VFS-aware when operating on remote files. Since it's a FUSE mount & application it can deny permissions to root - the agent performing the ...


2

I had a similar task last week. My solutions was to multiply the standard cron entries to the desired frequency. My crontab looks like: * * * * * /usr/local/bin/php /var/www/myscript.php * * * * * sleep 10; /usr/local/bin/php /var/www/myscript.php * * * * * sleep 20; /usr/local/bin/php /var/www/myscript.php * * * * * sleep 30; /usr/local/bin/php ...


1

I found a nice solution on superuser.com which is much like @adaptr's solution but without manually setting the environment variable. By creating an alias for ssh you can set that variable automatically: alias ssh='env SSH_PWD="$PWD" /bin/ssh' Configure ssh in ~/.ssh/config to send the SSH_PWD variable: For a single host add this: Host myhost SendEnv ...


1

I think useradd lets you set this: useradd -D When invoked with only the -D option, useradd will display the current default values. When invoked with -D plus other options, useradd will update the default values for the specified options. Valid default-changing options are: <...snip...> -s, --shell SHELL The name of a new user's login shell. ...


1

Depends on what you are using to add users. If it's the adduser command, then edit your /etc/adduser.conf file -- there you will find the default login shell option, namely: DSHELL. If, on the other hand, you prefer to use useradd then use it with the -s <shell of choice> parameter. If you wish to change the shell of existing users you can simply ...



Only top voted, non community-wiki answers of a minimum length are eligible