General :: Mapping Sftp/scp As A Drive Letter Without User Logins?

Aug 24, 2011

I'm trying to find a software which could map sftp/scp services to a windows drive letter. I know there are quite a bunch of those available, but i haven't found a single one which could run with SYSTEM or Netservice privileges or have decent command line options so i could elevate the program myself. The mapped drive should be available for other services running on the same server.

Most of the programs (sftp netdrive, expandrive, etc) have only option to startautomatically only when someone logs in. Because of that they are useless to me.Their inability to handle non-interactive starts is a bummer too. FTP->SFTP wrappers don't count as solution despite of integrated windows support for ftp drives. The way they are handled in windows makes ftp mapping unusable without some external ftp drive mapper software.

View 2 Replies


ADVERTISEMENT

General :: Get Drive Letter And Serial Number Of Thumb Drive?

Feb 4, 2010

I am new to Linux ,i did one project in windows which will block the thumb drive with respect to serial number(Device instance ID) of the device.i am planning to do the same project in Linux using c/c++.I am very new to Linux,there is no drive letter for thumb drives we insert into Linux OS.How to get Drive letter and how to get Device instance id of thumb drives please help me get some clues.please provide me any tutorial or any links .w if have any other clues to block devices with respect "block list" and "allow device list".if the serial number in block list it has to block if serial number in allow device list it has to allow thumb drive to access.

View 3 Replies View Related

General :: Looking To Mount Root Dir To Windows Drive Letter

Apr 18, 2011

I have a RH5 box and develop on Windows. I'm looking to mount the root dir of the RH machine just for ease of integration and automatic deployment to the linux box. I'm using WinSCP at the moment but that (from what I can find) only opens a window, which isnt accessible from eclipse.

View 1 Replies View Related

General :: Echo Enter The Letter A Or The Letter B?

Feb 11, 2010

Not sure why this won't work, any thoughts?echo enter the letter A or the letter B

read letter
if["$letter" = "A"]; then
echo "coolit's an A"

[code]....

View 1 Replies View Related

Server :: Control Which Drive Letter USB Thumb Drive Gets Assigned During Install Process?

Mar 30, 2010

The software: Ubuntu Server Edition 9.10.The wetware: A programmer doing his best (read: ignorant, shitty) as an ad-h.When I plug the USB thumb drive in, the install OS gives it a drive letter -- /dev/sdb -- and it pushes the original /dev/sdb down to /dev/sdc. The installation works without a hitch, and GRUB2 installs, dutifully pointing the root at /dev/sdc1 instead of /dev/sdb1.I let GRUB2 start normally ("drive not found"), holding the <shift> key to get to the "rescue>" prompt.From there, I issue "ls" to discover that GRUB can NOT see /dev/sdb, and I can tell that because what is showing up as (hd1) does NOT have three partitions as it should.GRUB2 sees a total of 16 drives, not 26, and one of the drives it sees is "fd0" (there is no floppy drive).Issuing commands like "set prefix=(hdx,y)" and "root=(hdx,y)" have no effect as, I think it's just pointing to the (reiserfs)content drives and this GRUB2 tells me "unknown filesystem".I did try them all in vain, hoping that maybe I'd find a kernel somewhere.I used the "rescue" mode of the Ubuntu installer (the USB thumb drive) to get to a root prompt.From there, I mounted /dev/sdc2 (the "shifted" /dev/sdb2) onto /mnt, I mounted /dev/sdc1 (the "shifted" /dev/sdb1) onto /mnt/boot,and then I chroot'ed to /mnt.I edited /boot/grub/grub.cfg, editing every instance of "root=(hd2,1)" to the appropriate UUID for the "real" /dev/sdb1. Then I issued update-grub2.It refused to work giving me an banal "no such partition" error or something like that.

We originally had this server functioning by putting / and /boot on the SS SanDisk, which caused no problems during installation because /dev/sda doesn't get shifted.We then figured it was a good idea to put our OS files on something with failover capability. And that started us down this crappy "shifting drive letter" path.Can I control which drive letter the USB thumb drive gets assigned during the install process?If I could make it be /dev/sdc then I wouldn't be facing this problem.An alternate solution would be to know the cryptic GRUB2 commands that I can issue from the command prompt post-install, pre-reboot.But I'm wondering if that will ultimately work at all considering that GRUB2 couldn't see /dev/sdb at all.

View 2 Replies View Related

General :: Create A Relationship Between Two OS Like Mapping Network Drive?

Feb 13, 2011

in my windows7 laptop, I installed a virtualbox 4.0 then Fedora 14 as OS. Can I transfer the files from Linux system to windows syatem? I mean can I create a relationship between two OS like mapping network drive?

View 3 Replies View Related

General :: SFTP With User Nectand Passwd Set On The Header Of Connection

Mar 25, 2011

How I can do a ftp connection putting the user and passwd, and I would do! Today, I need to know how can I do this, but in SFTP!

View 1 Replies View Related

General :: Ubuntu: Give Sftp Root Privilege To User?

Sep 18, 2010

This is my first thread ever to make on the linux forum, and I just began using linux Ubuntu Lucid for my server. Please bare with me because I think I am questioning such a basic question. How do you give sftp root privilege to user? I've made group "admin" and made 2 users under that group. Trying to upload a file onto a server using SFTP with one of the user and it fails and says "Permission denied."

I gave full sudo/root permission to the group "admin" from /usr/sbin/visudo I mainly use Tranmit4 but I also have filezilla. Or is there a way to run sudo command on either ftp client application?

View 14 Replies View Related

General :: Root Logins Are Not Allowed \ When Try To Login As Root, After Logging Out As User, It Does Not Allow?

Dec 2, 2010

i just installed linux mandriva 2009. i set password for root and created a user account. when i try to login as root, after logging out as user, it does not allow me and gives the error "root logins are not allowed". even it does not show the root account. if i try to go to root from konsole terminal using su root, it allows to enter as a root but when i try to start the GUI with startx it gives error.not sure what to do and why i can't see my account in GUI mode

View 5 Replies View Related

Security :: Detect All User Logins?

May 25, 2011

I would like to detect every login on my server. Not only ssh logins (virtual terminals) but also physical logins.There is a way to use nagios or a script to watch log files.But I would like to know is there a way to catch that information one step before.I thought about watching /dev/pts for changes but that is not different than log watching and everything does not appear in /dev/pts like a ssh tunnel (ssh -N user@server). These are only visible in logs because ssh tunnels do not open terminals.But I would like to be able to catch these on login.

View 8 Replies View Related

Server :: Limit The Number Of Logins For A User To Only One?

May 3, 2011

I ran into a user today that indicated that their company only allows them to log in through a terminal session once (no multiple logins). On second try their login window terminates. They are using putty.Is this being accomplished through PAM or sshd ( or some other method)?

View 1 Replies View Related

Server :: Samba Not Accepting User Logins?

Feb 23, 2011

I have a samba server that I had setup using the default smbpasswd backend, and it worked fine. So long as I remembered to use smbpasswd/passwd to setup a user with a username and password matching the account name of a Windows 7 user, then that windows 7 user would be able to navigate the shares with their permissions correctly.I have switched over to using ldap, and: the console/ssh of the machine can correctly use any of the ldap logins getent passwd/group both show the complete listing my Windows 7 machines can all ping the samba server by its netbios name my Windows 7 machines all prompt for authentication if I type \MACHINENAME into explorerHowever, all attempts to access the shares now continually ask for you to enter your username/password, and then fails anyway.No errors appear to be generated on the server (unless I'm missing a log somewhere). Having hunted around on the web, I'm wondering if it has to do with generation of machine accounts (since it tries to access from MACHINENAMEUSER). Without ldap setup, I didn't need to worry about the machine name, but I'm thinking that maybe smbpasswd took care of this somehow.I use the smbldap-useradd tool to setup a user account, which appears to correctly setup the user in ldap, such as:

Code:
dn: uid=sharer,ou=Users,dc=intbus,dc=net
objectClass: top

[code]...

View 2 Replies View Related

Ubuntu :: What Is Hard Drive Letter

Dec 4, 2010

I can not find my hard drive letters in ubuntu. In the "computer" window it just shows it as "file system". I want to run chkdsk on another hdd that I connected to the computer. It shows up as 2 icons, one called "256 GB Solid-State Disc:256GB Filesystem and the other called "256 GB Solid-State Disc:System Reserved. This disc was installed in another computer as the only hdd and I had problems with the computer so I removed it and installed disc drive. I want to check this ssd here in ubuntu to see if there are any bad sectors etc. All the instructions I can find say to Type "Run chkdsk /[drive letter]" (without quotes) in the terminal win. I entered "sudo lshw" and the drive shows as "*-disc:1" I tried using 1, disc-1 and *-disc:1 as drive letters , example, "Run chkdsk/1" (without quotes), and I get command not found for all 3. There must be a drive letter to these discs as in windows I would guess, it appears that way as I search the net. NOTES, this computer has ubuntu 10.04 installed only and has 3gb native sata mobo, no microsoft at all. I want to check the quality of this ssd as much as possible and can overwrite or delete any and all files on it, reformat it etc. If it checks out good, I may remove the existing hdd on the computer and install this one as the only hdd and install ubuntu and use it a while to make sure it works fine, then remove it and install it to the original computer where i wanted it in the first place. That computer has win7 ultimate on it, but what matters is that one has the 6gig native sata mobo and that is where this ssd will work at its fastest

View 9 Replies View Related

Ubuntu :: Disable Multiple Logins For A Single User?

Apr 5, 2011

I'm trying to disable multiple logins for a single user on Ubuntu 10.10 but I haven't been able to find a way to do this on this version

View 4 Replies View Related

OpenSUSE :: Organize User Logins And Passwords Within A 6 Person Firm?

Nov 22, 2010

How should I organize user logins and passwords within a 6 person firm? We have several desktops, portables, servers and virtual machines. Everyone should be able to log in on each PC. Ldap seems overkill. Would NIS be more suited?How can I integrate other passwords like samba, mysql, vpn, ... Into this strategy?

View 4 Replies View Related

Ubuntu :: Assign Drive Letter To Windows Share?

Feb 3, 2011

I've a Windows and a Ubuntu Machine on the same network.I've a shared folder on my Windows machine.I need to permanently map it to drive letter in Ubuntu, just like a hard disk.Think of mapping a network drive in windows, I need to do the exact same thing.Is there a way? I've honestly gone through about 500 posts explaining different ways and I go none working. Is there a GUI for this?I know there is something called mounting, but I need it to be a drive letter for my program to understand.

View 4 Replies View Related

Red Hat / Fedora :: Finding Windows Drive Block Letter?

Nov 24, 2008

I am new to linux, I am using Redhat Linux running through Virtual PC software running under Windows XP. Can please tell me how to find out the block device code for C ,D drive, as I need to add them into fstab file to mount . let me know the command to access the Windows Shared folders.

View 2 Replies View Related

General :: "Permanently" Mapping A Drive In Vista Home To SAMBA Network Share?

Jan 28, 2011

OK, this is really little to do with Linux, as my question really involves my Vista Home machines. Anyone know good methods to have Windows Vista (Home Edition) machines stay mapped to a SAMBA share on a Linux server? I'm using user-level security on the server (Ubuntu Server 10.10), and it (generally) works really well, but I can't get the rest of my family to use it, as (understandably), they don't want to have to type in their password to the share every time they log in to the Vista machines (or my one XP machine left, for that matter), plus the problems when it occasionally decides it's already tried to connect once and failed, and refuses to "restore" the connection, ugh. I currently have one Win7 machine, and surprisingly, with the Win7 Home Premium edition, it actually "remembers" the passwords to the SAMBA shares.

View 2 Replies View Related

Ubuntu Servers :: Xp Drive Letter - Auto Mount The Server When On My Home Network

Jan 22, 2011

I would like my Ubuntu server to show up as a drive on my XP home machine. I have loaded samba on to the server but I can only get it to show as the printer and faxes under my work group. Also is there a way to have my Ubuntu laptop to auto mount the server when I am on my home network?

View 6 Replies View Related

Server :: NFS4 On Ubuntu Nobody / Nogroup User Mapping

Aug 26, 2010

So I have a few Ubuntu (Hardy till I can find a replacement for Xen) boxes that I am trying move from nfs3 to nfs4.I set it up according to this guide: URL...However I ran into trouble when the client see's all users/groups as nobody/nogroup.The current set up is that all the boxes have synced uids/gids and all users with root access can be trusted. I read some reports that said the only way this could be fixed was by using Kerberos. However I would really prefer not having to move to Kerberos as I have heard that it is very intensive to set up. So what I am looking for here is a solution other than sticking with nfs3 or putting everything on Kerberos. However if you think that Kerberos is easier to set up than I am giving it credit for then that could be useful to hear as well.

View 1 Replies View Related

Networking :: What Are SFTP'd User Permissions?

Apr 6, 2010

if lets say 'someuser' sftp's into the box what is he actually able to do?Looking at my tests he can browse any directory to which he has read permissions but is only able to delete files in /home/someuser, even if they are owned by root. On the other hand in any folder above /home/someuser he would NOT be unable to delete a file even if its chmoded 777. Can anyone please confirm these findings.

View 4 Replies View Related

CentOS 5 :: Mapping Drive On Windows XP?

Jul 30, 2009

how I can map a drive/directory on a remote Centos 5.3 server in my office to my local Windows XP at home. Is there any guides on how this could be done? eg. VPN, SAMBA, NFS, etc..

View 2 Replies View Related

Security :: Permission Configuration For SFTP User?

Jun 8, 2011

I've run into my first Linux/Unix roadblock and need support. I am creating a user strictly for SFTP and need them to login to a specific folder as well as set their navigate, write, and read permissions appropriatly but am having trouble. I was able to modify /etc/passwd to change their home location upon login but was warned that it was a bit dangerous to modify this file, even though my login test worked, and that I should look for an alternate solution in case shadow passwords were used. I'm reading up on chmod and understand the binary relationship but still can't seem to put the pieces together for each folder I'm working in. Below is what I need to satisfy: username for this test will be 'customer'

Example folder: /storage/company/files

1. User 'customer' needs to login to /storage/company/ by default.

2. User 'customer' needs browse, write, and read permissions to /storage/company/ and ALL files and subdirectories within this folder

3. User 'customer' must be UNABLE to navigate backwards toward folder root / or in general, navigate out of their primary home location.

View 1 Replies View Related

Server :: SFTP User Adding For VSFTPD?

Oct 24, 2010

I just installed Wordpress and i am delighted of it, nice peace of software. Even so I have to get running a FTP or SFTP server on my localhost machine. I did installed in my Ubuntu 10.10 the VSFTPD server and generated a RSA certificate file (vsftpd.pem). Strange it is that there is no vsftpd folder under /etc, instead vsftpd.conf file is directly into /etc ... so I have generated also my .pem file into /etc. Anyway I have a lot of trouble adding new users to access this server. I use Filezilla as SFTP client. Please let me know if you encountered such an issue, and what is the solution for it. Downwards is my vsftpd.conf file.

# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.

[code]....

View 38 Replies View Related

CentOS 5 :: Limit To One Connection Per User For Ssh / Sftp?

Dec 3, 2009

Is it possible to limit each user so that only one can connect via each username for ssh/sftp? I work with a small company where there aren't really enough of us to justify using a revision control system, but we don't want to accidentally step on each other's toes, so we'd like to try simply preventing more than one person from accessing a given domain at once.

View 15 Replies View Related

Debian :: Synology NAS Shared Drive Mapping

Sep 11, 2015

I've some how managed to map to a shared drive on my Synology NAS, but can only access it through the terminal when logged in as root. The share is mounted in the "mnt" directory, which I can't access when using the file manager application (as a user).

Update:
so I carried out the actions below and I can no see the share in my home directory, but can't access it. Is this because I done it with root?
root@D8:/home/user# mkdir share_nas
root@D8:/home/user# ls
Desktop Downloads Picturesshare_nas Videos
Documents Music PublicTemplates
root@D8:/home/user# mount 192.168.0.2:/volume1/NAS_share /home/user/share_nas

View 1 Replies View Related

Networking :: Mapping Folder To Windows Drive?

Feb 4, 2010

I'm have a server running linux ver: Linux version 2.4.22-1.2115.nptl (bhcompile@daffy.perf.redhat.com) (gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-6)) #1 Wed Oct 29 15:42:51 EST 2003

from my windows xp machine I can see that there are three shared folders using : 1- run then \10.1.2.4 I can map tow of these folders to a network drive using the root credentials. but when I tried to map the third one (it was mapped before) I got the following errors: first asking to insert the password again [URL]

then: asking to put the password but as a gust [URL]

View 2 Replies View Related

Fedora Networking :: Pam_mount Not Mapping Network Drives On Gnome User Login?

Nov 18, 2010

Have been configuring fedora 14 to connect to a windows domain server and have been successful so far....am now on mapping network drives when the user logs in via the gnome gui.

If there is a better method of mapping network drives on login

After reading up on PAM_MOUNT and using that for mapping drives on login I have been able to successfully map them, but it doesn't do this automatically on gnome login.

Problem is as follows: It works when i connect / login using the terminal but requires me to enter the password once (even when i logged into the user account on gnome).

How I want it to work:I would like the mapping to occur when i login via gnome so that i dont have to open a terminal once logged in to gnome to map the network drives. I would like it to login without having to type the password again as the user is already logged in

Config Files:

#--- ~/.pam_mount.conf.xml ---#
<?xml version="1.0" encoding="utf-8" ?>
<pam_mount>
<volume fstype="cifs" server="GRA.GI" path="apps" mountpoint="/mnt/GRA.GI/apps"/>
</pam_mount>

[Code].....

View 2 Replies View Related

Ubuntu Servers :: Allow Sftp / Ssh User Access To Only One Directory

Mar 20, 2011

i want to allow some friends to ssh/sftp/scp into my system but i only want them to have access to my external hard drive (/media/externalHD/), and i dont want them to be able to delete or add anything, only download.i have found instructions on how to limit a user to his/her home directory and thought about just creating a user with the home directory /media/externalHD but idk if this will work and im afraid i might make a mistake and delete 800gb of 'files'

View 2 Replies View Related

Programming :: SFTP Connection With User And Password On The Header?

Mar 25, 2011

how I can do a ftp connection putting the user and passwd as default?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved