yum list grep samba shows samba-13 installed however when type smbclient as root it returns
"Command Not Found" and returns me to bash.
yum remove samba reboot yum install samba still nothing
smb[tab] returns : smbd, smbusers and 3 others but none that are smbc*. I'm kinda stuck for my windows shares at this point.
smbd i presumed was the deamon so i triggered that but smbclient still cant be found and when i ran smb(something) status it stated that the samba service was up and running.
users list is configured but i believe this is an issue with the command.
I am an absolute Linux Beginner who is being required to do a bit of admin work because the boss just fired the old linux admin. Unfortunately, one of our employees cannot remember her password to her email account and as such I need to reset it on our linux server.What I want to check is that this email account is actually a linux user account and I simply will reset the password for it using the passwd command from the root login. Is that correct?
I have a new network attached storage unit that I'm trying to transfer my data to. On this NAS, it has a very basic linux installed with SSH enabled. Browsing through the programs installed on it, i found smbclient. Am I able to copy files directly from my old NAS to my new one using smbclient?It would sure beat transfering 950GB from my old NAS through a computer then onto my new NAS.
I am trying to pass a variable to smbclient (OS X), but the variable is recognized only as its strict text.
Is there anything syntactically I have to do pass a variable created in the shell (bash) to smbclient (or perhaps any other interactive app)? I've seen references to variables as $[variable] or ${variable} but I've not been able to figure out what works.
I am trying to allow my mother's Acer Aspire One (OS: Linpus Linnux Lite) to print on the WIFI Canon Pixma MP620 printer. The rest of the computers connected in the house run some variant of Windows. The printer has been set up to print wirelessly from the Windows computer. Having searched the internet for hours, I have determined that there aren't any drivers for that particular printer.
My potential solutions are: 1. Buy a new printer 2. Install Windows on the Aspire One (Last resort!) 3. Use this piece of software (http://www.printeranywhere.com/), which is installed on my Windows 7 computer which is on 90% of the time, and find some way to install it on Linux. (I tried Wine, and it opened up the installation .exe but when it came to actually installing, returned an error saying it needed to be installed on the same drive. :S) 4. Follow this tutorial (http://justin.yackoski.name/winp/) to print via my computer.
I think I will manage to follow the tutorial fine (as a complete Linux novice!), but I am having some problem with simply connecting to my Windows share folder, which I came across on this line of the tutorial: Test that you can access the share from the linux PC via smbclient. I.e., run: smbclient //windows_pc/spool -U print and make sure you can put a file into that shared directory. After I enter the password, as prompted, is returns:
session setup failed: SUCCESS - 0
When I try: "smbclient -L //WILL-PC -U Will", and then enter my password as prompted, it returns the same error. However if I try: "smbclient -L //WILL-PC -N", it returns: Anonymous login successful. Then my correct Domain, OS and server details. Then the titles: Sharename, Type and Comment
And then the following: cli_rpc_pipe_open: cli_nt_create failed on pipe srvsvc to machine WILL-PC. Error was NT_STATUS_ACCESS_DENIED Error returning browse list: NT_STATUS_ACCESS_DENIED Anonymous login successful Then the same correct Domain, OS and server details Then two headings: Server and Comment, each of which have a different entry below them to do with my printer. Then the two headings: Workgroup and Master, below which there are two different workgroups that we have, and my computer and my sisters laptop.
In this tutorial I have shown how we can share a folder from Windows to Linux, [URL]. The author of the video is not responsible if something is broken.
I am sending message from linux to windows system as follows echo "test"|smbclient -M <IP Add>But I am getting "session request failed" message . How can I solve it? <Ip Add> in network and reachable.
How do I set up SSH so I don't have to type my password? i execute the following command ssh -l admin hostname command but each time i execute it, it ask me to enter password.how i can give it password as default because i'm going to put in bash file ?
I dont want to use ssh key authentication.I have a simple script which I need to ssh to remote machine and all I want is to supply the password on the same ssh commandline
I am writing a script to get hardware information of a particular UNIX machine. To do this, I ftp a shell script (commands to get h/w information) to the target machine and then use SSH to remote the remote script.With FTP, I can pass a password accepted as input the shell script. How can I pass the same password to SSH ? This is because I do not want the user to enter the password twice.
I migrated an old SuseLinux 10 box to Debian (Lenny) a couple months ago, and apparently no one noticed you can't change your password. Root can do it because passwd doesn't ask root for a password, but no one else can (although they can log in, passwd doesn't recognize their login password when they attempt to set a new password and it asks).I changed authentication to use blowfish when I setup the server (because the SuseLinux 10 system used it) and apparently the passwd command doesn't work with that. Apparently I need to update another configuration file or possibly get a different program to update the passwd file if I use blowfish. Any ideas?
The weird thing is that it can generate a blowfish hash to set a new password, but apparently can't generate one to authenticate the user.something changed recently and it is no longer generating a blowfish hash when setting a new password. It is generating a hash with only 13 characters. And I can clearly see that many users have changed their passwords.
I wish to allow a user to use sudo to run a single command (service app status) to determine if my application app is running, in my sudoers file i have: user ALL= /sbin/service app status I understand that there is a parameter called timestamp_timeout that will set the timeout for the 'user', but requires at least 1 entry of the root password.
I wish to allow the user to do "sudo service app status" and not have to enter the root password ever(maybe once is ok), but still make the user enter the root password for all other root activities. Is there a way to prevent the password entry for this command only and no others?
I am trying to change the password of a user by 'usermod' command. let us assume that there is a user named "test" to change the password of the user we can type "passwd test" which will change the password of the user "test". I want to change the password similarly using the command "usermod". when I give usermod -p yahoo test"(yahoo is the password which I want to set), I am not getting any errors but when I switch user to test, I am unable to login.
I'd like to start a background job using the sudo command and route its output to a file. This presents a problem because the prompt for the password doesn't work properly. It looks something like this when I try it:
Basically I'm not properly prompted for the password and as soon as I type anything in my background job fails because it didn't receive the password. Is there any way to execute a sudo command by supplying the password on the same line as the command?
When Linux ask for my password in command line,my keyboard becomes unresponsive just for that moment or let me put it this way,until i need to write my password my keyboard is unresponsive,but for all other things is fine.or for example,i can input my password when i have a graphic interface but i can't with command line or i can't login to my computer from command lineexcuse me if my question is doll,i moved from windows to ubuntu just lastweek,( & i am flying high in sky with ubuntu & digging a very deep hole for windows too!!.)
I have the following commande /sbin/fuser -f -u /u/DT01/F010107 1>/tmp/null 2>/tmp/seausr.T0069 when executing as root 'su' this give me all user using the file. but when tried with 'sudo' i am asked with 'user password'. Is ther anyway to simply get the result without having to supply a password and to see all user not only me. (i have the file open also).
In Ubuntu 10.04, I logged in as user1 and when I open a new terminal and issue any command it is asking password.user@ubun-laptop:~$ sudo ifconfig[sudo] password for user: It is asking for password only for first time.From the next command onwards it is not asking.Can some one please tell me if it is possible to issue ONLY ONE COMMAND, in which even if the password request comes, it will automatically fill the password.Just like "ps -elf | grep NetworkManager". I am expecting any combination of commands in a single line, so that password is filled automatically IF PASSWORD IS ASKED. If password is not asked, the command must be executed.
For some reason passwd does not accept my current password as the old password when i try to change my password with the command passwd. Im not sure whats wrong with whatever linux uses to handle passwords but I cant even change passwords with the root user account. Is there any way to fix both of these problems.
I'm using CentOS 5.5 with smbclient 3.0.33-3.28-el5 (latest version in repo), and I can't overwrite files in my smb store.The CentOS box is merely a client of the smb share,and I am not the admin for the Windows server that hosts the share, so there isn't anything I can do server side. But I do have write permission to the server. I'm 95% certain that the server runs Windows Server 2003.I can create a new file,but if I need to overwrite it I need to delete the file, and then copy the new version over.My Windows XP machine can overwrite files perfectly fine.
Using the cp command I'll get this error: (/mnt/storage/foo.txt already exists) [jonescb@localhost ~]$ cp foo.txt /mnt/storage/foo.txt cp: cannot create regular file `/mnt/storage/foo.txt': No such file or directory`
I have been using Ubuntu for a while now and have never run into something like this that I haven't been able to find on the forums. My problem is quite similar to this post [URL]
Description:
I have a Windows 7 x64 machine and a Ubuntu 10.04 Server machine. I also have a share called "stuff" on the Windows machine. I can run the following command and it mounts the share successfully :
Code: sudo mount -t cifs //windows_machine/stuff -o user=usr,password=pswd /path/local/folder However, if I run smbclient it fails with this error
How come I can access samba share, and windows workgroup computer and don't have any samba package installed? Sudo aptitude show smbclient says not installed. Sudo aptitude show samba says not installed.
My OS is F11 and i've two systems; i'm running Samba server on one system and i've login on the client system and trying to login to the Samba server using smbclient but it's not working.Can someone give me the command to login to the Samba server using smbclient!